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 'buildr/as3' | |
define "AdvancedExample" do | |
define "MyApplication" do | |
compile.using :mxmlc | |
compile.options[:flexsdk] = FlexSDK.new("4.1.0.16076") | |
compile.options[:main] = _(:src,:main,:as3) + "/MyApplication.as" | |
# define the ApparatToolkit to use by version |
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
$ cd path/to/AdvancedExample | |
$ buildr compile |
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 'buildr/as3' | |
define "AdvancedExample" do | |
define "MyApplication" do | |
# use the mxmlc compiler to create a swf | |
compile.using :mxmlc | |
# define the FlexSDK to use by version | |
compile.options[:flexsdk] = FlexSDK.new("4.1.0.16076") | |
# define main-class to use for the compiler |
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
# loads the buildr-as3 extension | |
require 'buildr/as3' | |
# defines our project “AdvancedExample” | |
define "AdvancedExample" do | |
# defines our module “MyApplication” | |
define "MyApplication" do | |
end |
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
AdvancedExample | |
└── MyApplication | |
└── buildfile |
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
AdvancedExample | |
└── MyApplication | |
└── src | |
└── main | |
└── as3 | |
└── MyApplication.as |
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
Successfully installed buildr-as3-0.2.2 | |
Gems updated: buildr-as3 | |
Installing ri documentation for buildr-as3-0.2.2... | |
Installing RDoc documentation for buildr-as3-0.2.2... |
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
$ gem update buildr-as3 |
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
$ gem install buildr-as3 |
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
Devboys-MacBook-Pro:mxmlc_swf devboy$ buildr test | |
(in /Users/devboy/Development/Source/Ruby/buildr_as3_test, development) | |
Testing buildr_as3_test:mxmlc_swf | |
Compiling buildr_as3_test:mxmlc_swf into /Users/devboy/Development/Source/Ruby/buildr_as3_test/mxmlc_swf/target/bin | |
Loading configuration file /Users/devboy/.m2/repository/com/adobe/flex/sdk/4.1.0.16076/sdk-4.1.0.16076/frameworks/flex-config.xml | |
/Users/devboy/Development/Source/Ruby/buildr_as3_test/mxmlc_swf/src/main/as3/Test.as: Warning: This compilation unit did not have a factoryClass specified in Frame metadata to load the configured runtime shared libraries. To compile without runtime shared libraries either set the -static-link-runtime-shared-libraries option to true or remove the -runtime-shared-libraries option. | |
/Users/devboy/Development/Source/Ruby/buildr_as3_test/mxmlc_swf/target/bin/Test.swf (864 bytes) | |
[INFO] Apparat -- http://apparat.googlecode.com/ | |
[INFO] Launching tool: Turbo Diesel Sport Injection |