Sha256: 4f9bdb2a8495319c44f0a497b90d5d2d0b548e1e5e300eb94569cd3c4d7b8704
Contents?: true
Size: 1.1 KB
Versions: 3
Compression:
Stored size: 1.1 KB
Contents
# encoding: utf-8 # frozen_string_literal: false require_relative 'lib/propane/version' def create_manifest title = 'Implementation-Title: rpextras (java extension for propane)' version = format('Implementation-Version: %s', Propane::VERSION) File.open('MANIFEST.MF', 'w') do |f| f.puts(title) f.puts(version) f.puts('Class-Path: core-2.2.1.jar gluegen-rt-2.1.5-01.jar jog-all-2.1.5-01.jar') end end task default: [:init, :compile, :install, :test, :gem] desc 'Create Manifest' task :init do create_manifest end desc 'Install' task :install do sh 'mvn dependency:copy' sh 'mv target/propane.jar lib' end desc 'Gem' task :gem do sh 'gem build propane.gemspec' end desc 'Document' task :javadoc do sh 'mvn javadoc:javadoc' end desc 'Compile' task :compile do sh 'mvn package' end desc 'JRuby-Complete' task :install_complete do sh 'cd vendors && rake' end desc 'Test' task :test do sh 'jruby test/respond_to_test.rb' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
propane-0.9.0-java | Rakefile |
propane-0.8.0-java | Rakefile |
propane-0.7.0-java | Rakefile |