Sha256: 207d8c3c531fe0292e90fd9c04e751539ce17ed0bd5022dc164efb3ea6fe5303

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

require 'rubygems'
require 'bundler'
require 'os'
require_relative 'lib/glimmer_application'
begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "glimmer"
  gem.homepage = "http://github.com/AndyObtiva/glimmer"
  gem.license = "MIT"
  gem.summary = %Q{Desktop application development library}
  gem.description = %Q{JRuby DSL that enables easy and efficient authoring of user-interfaces using the robust platform-independent Eclipse SWT library}
  gem.email = "andy.am@gmail.com"
  gem.authors = ["AndyMaleh"]
  gem.executables = ['glimmer']
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'samples' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
  additional_options = OS.mac? ? "-J-XstartOnFirstThread" : ""
  test.ruby_opts = ["#{additional_options} -J-classpath \"#{GlimmerApplication::SWT_JAR_FILE}\" -Xcli.debug=true --debug"]
end

task :default => :test

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glimmer-0.1.5.470 Rakefile