Sha256: e9961c52939967dde12ddd8b49a5eed8f712c70015e828e13e40ead493bfa754
Contents?: true
Size: 741 Bytes
Versions: 1
Compression:
Stored size: 741 Bytes
Contents
require_relative 'lib/toxiclibs/version' def create_manifest title = 'Implementation-Title: toxiclibs (java extension for toxicgem) ' version = format('Implementation-Version: %s', Toxiclibs::VERSION) file = File.open('MANIFEST.MF', 'w') do |f| f.puts(title) f.puts(version) end end task default: [:init, :compile, :gem] desc 'Create Manifest' task :init do create_manifest end desc 'Build gem' task :gem do sh "jgem build toxiclibs.gemspec" end desc 'Compile' task :compile do sh "mvn package" sh "mv target/toxiclibs.jar lib" end desc 'clean' task :clean do Dir['./**/*.%w{jar gem}'].each do |path| puts "Deleting #{path} ..." File.delete(path) end FileUtils.rm_rf('./target') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
toxiclibs-2.1.0 | Rakefile |