Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 523 Bytes
namespace :applet do
file 'tool/jruby.keystore' do
sh 'keytool -keystore tool/jruby.keystore -genkey -keyalg rsa -alias applet'
end
desc "Sign and pack a copy of jruby-complete.jar for applet/javaws use."
task :dist => 'tool/jruby.keystore' do
cp "dist/jruby-complete-#{VERSION_JRUBY}.jar", 'dist/jruby-complete-signed.jar'
sh 'jarsigner -keystore tool/jruby.keystore dist/jruby-complete-signed.jar applet'
sh 'pack200 dist/jruby-complete-signed.pack.gz dist/jruby-complete-signed.jar'
end
end
Something went wrong with that request. Please try again.