Created
May 6, 2011 15:43
-
-
Save cdemyanovich/959203 to your computer and use it in GitHub Desktop.
Porting build to use Sprout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'bundler' | |
require 'bundler/setup' | |
require 'rake/clean' | |
require 'flashsdk' | |
require 'asunit4' | |
namespace :as2 do | |
sprout "as2" | |
mtasc "../projects/flash/skywalker/xxl_gui/swf/xLink.swf" do |t| | |
t.swf = "../flash/skywalker/xxl_gui/swf/xLinkStub.swf" | |
t.version = 8 | |
t.mx = true | |
t.main = true | |
# t.header = "780:550:24:ffcc00" | |
# t.input = "as2-src/AS2Client.as" | |
# t.class_path << 'as2-src' | |
# t.class_path << 'as2-lib/laml' | |
t.class_path << "../src/skywalker" | |
# mtasc -swf ../flash/skywalker/xxl_gui/swf/xLinkStub.swf -cp ../../src/skywalker -version 8 -mx -main -out ../flash/skywalker/xxl_gui/swf/xLink.swf -trace Debugger.trace \ | |
# -pack display/settings \ | |
# -pack display/help \ | |
# -pack display/ui \ | |
# -pack display/screenSettings \ | |
# -pack display/navBars \ | |
# -pack display/weather \ | |
# -pack display/homeScreen \ | |
# -pack display/navBars \ | |
# -pack display/icons \ | |
# -pack display/humidity \ | |
# -pack display/zones \ | |
# -pack display/schedule/editor \ | |
# -pack display/schedule/summary \ | |
# -pack display/filter \ | |
# -pack display/GuidedSetup \ | |
# -pack display/history \ | |
# -pack display/fan \ | |
# -pack display/mainMenu \ | |
# -pack display/Calendar \ | |
# -pack display/systemStatus \ | |
# XLink.as \ | |
# errors/ErrorConsole.as \ | |
# display/chooseHomeScreen/CustomHomeScreenChooser.as \ | |
# logging/LoggerUI.as \ | |
# logging/generalTrace.as \ | |
# colors/ColorSchemeGraphic.as | |
# | |
# open -a safari ../flash/skywalker/xxl_gui/swf/xLink.swf | |
end | |
desc "Compile and run the ActionScript 2 client" | |
flashplayer :test => "../projects/flash/skywalker/xxl_gui/swf/xLink.swf" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment