Created
January 25, 2011 15:45
-
-
Save devboy/795094 to your computer and use it in GitHub Desktop.
Parent project calls compile task with :mxmlc, but I would like it to ignore the compile/test goals
This file contains 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/lib/buildr/as3" | |
repositories.remote << "http://artifacts.devboy.org" | |
VERSION_NUMBER = "1.0" | |
FLEX_SDK = Buildr::Compiler::Flex4SDK.new({:sdk_version => "4.1.0.16076"}) | |
FLEX_SDK.default_options["compiler.incremental"] = "true" | |
desc "buildr-as3 example project" | |
define "buildr_as3_exampleproject" do | |
project.version = VERSION_NUMBER | |
project.group = "org.devboy.buildr_as3" | |
desc "FlashApplication project" | |
define "FlashApplication" do | |
compile.options[:main] = "#{path_to(:source, :main, :as3)}/org/devboy/app/FlashApplication.as" | |
compile.using :mxmlc | |
compile.options[:flexsdk] = FLEX_SDK | |
package :swc | |
end | |
package :zip | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment