Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.642 kb
require 'rubygems'
require 'rake'
require 'highline'
@ui = HighLine.new
task :default => 'build'
desc "Build and preview the application"
task :build do
system "amxmlc Bouncy.mxml && adl application.xml"
end
desc "Package the application"
task :package do
password = @ui.ask('Password:')
system "adt -package -storetype pkcs12 -keystore certificate.pfx -storepass #{password} Bouncy.air application.xml ."
end
desc "Generate certificate for the application"
namespace :certificate do
task :generate do
password = @ui.ask('Password:')
system "adt -certificate -cn SelfSigned 1024-RSA certificate.pfx #{password}"
end
end
Jump to Line
Something went wrong with that request. Please try again.