Sha256: 4f046394611ac770de1597f9b782c8ad58fb587ef821165a9fdf21bee2caada3
Contents?: true
Size: 618 Bytes
Versions: 33
Compression:
Stored size: 618 Bytes
Contents
require 'bundler' require 'ruby-maven' require 'rake/testtask' Bundler::GemHelper.install_tasks Rake::TestTask.new do |t| t.pattern = "test/*_test.rb" end desc "Run benchmarks" task :benchmark do load 'benchmarking/benchmark.rb' end desc "Pack jar after compiling classes, use this to rebuild the pom.xml" task :compile do RubyMaven.exec('prepare-package') end desc "Clean build" task :clean do RubyMaven.exec('clean') end task :default => [ :compile ] require 'rubygems/package_task' Gem::PackageTask.new( eval File.read( 'jrjackson.gemspec' ) ) do desc 'Pack gem' task :package => [:compile] end
Version data entries
33 entries across 33 versions & 4 rubygems