Sha256: bf7e09fc4e8d21ac38e980032474933b80a3c4727713080cd96ac814352a37d7
Contents?: true
Size: 752 Bytes
Versions: 3
Compression:
Stored size: 752 Bytes
Contents
require 'rubygems' require 'bundler' require 'bundler/setup' require 'rake/clean' require 'flashsdk' require 'asunit4' ############################## # Debug # Compile the debug swf mxmlc "<%= bin %>/<%= debug_swf_name %>" do |t| t.input = "<%= src %>/<%= class_name %>.as" t.debug = true end desc "Compile and run the debug swf" flashplayer :debug => "<%= bin %>/<%= debug_swf_name %>" ############################## # Test library :asunit4 # Compile the test swf mxmlc "<%= bin %>/<%= test_swf_name %>" => :asunit4 do |t| t.input = "<%= src %>/<%= test_runner_name %>.as" t.source_path << 'test' t.debug = true end desc "Compile and run the test swf" flashplayer :test => "<%= bin %>/<%= test_swf_name %>" task :default => :debug
Version data entries
3 entries across 3 versions & 1 rubygems