Sha256: 11939ca127ecf33d9792d10844b2a1923e6dd713fbe22e9911fed6f02a45ab28
Contents?: true
Size: 614 Bytes
Versions: 16
Compression:
Stored size: 614 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rake/javaextensiontask' Rake::JavaExtensionTask.new('sandbox') do |ext| jruby_home = RbConfig::CONFIG['prefix'] ext.ext_dir = 'ext/java' ext.lib_dir = 'lib/sandbox' jars = ["#{jruby_home}/lib/jruby.jar"] + FileList['lib/*.jar'] ext.classpath = jars.map { |x| File.expand_path(x) }.join(':') end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/**/*_spec.rb' t.rspec_opts = ['--backtrace'] end # Make sure the jar is up to date before running specs task :spec => :compile task :default => :spec
Version data entries
16 entries across 16 versions & 3 rubygems