Sha256: 49fcb43e4430d846f088f548f857fefc49f216c423f2748b949ea89ad1967461
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
require 'rubygems' require 'asproject' ############################################ # Launch the Application using Flash Player 9 desc "Compile and run main application" task :run => :compile_main task :default => :run AsProject::FlashPlayer.new(:run) do |t| t.version = 9 t.swf = 'bin/<%= project_name %>Application.swf' end ############################################ # Launch the Test Suites using Flash Player 9 desc "Compile and run test suites" task :test => [:compile_tests] AsProject::FlashPlayer.new(:test) do |t| t.version = 9 t.swf = 'bin/<%= project_name %>Runner.swf' end ############################################ # Compile your Application using HAMTASC AsProject::MXMLC.new(:compile_main) do |t| t.default_background_color = '#FFFFFF' t.default_frame_rate = 24 t.default_size = "600 400" t.input = 'src/<%= project_name %>.as' t.output = 'bin/<%= project_name %>Application.swf' t.warnings = true end ############################################ # Compile your Application using HAMTASC AsProject::MXMLC.new(:compile_tests) do |t| t.default_background_color = '#FFFFFF' t.default_frame_rate = 24 t.default_size = "800 450" t.input = 'test/<%= project_name %>Runner.as' t.output = 'bin/<%= project_name %>Runner.swf' t.warnings = true t.source_path << 'src' t.source_path << 'assets/img/skins' # t.source_path << 'lib/asunit' t.source_path << 'test' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
asproject-0.1.84 | templates/asproject/as3/project/rakefile.rb |
asproject-0.1.80 | templates/asproject/as3/project/rakefile.rb |