app_generators/airake/templates/README in airake-0.1.6 vs app_generators/airake/templates/README in airake-0.1.7

- old
+ new

@@ -3,22 +3,15 @@ To include mxmlc, adl and adt (from Flex Builder): export PATH="/Applications/Adobe Flex Builder 3/sdks/moxie/bin:$PATH" To include adl and adt (from Apollo SDK): export PATH="/Applications/ApolloSDK/bin:$PATH" - -== Creating an AIR project - - airake path/to/MyProject com.company.MyProject - -will build a project scaffold with application name of MyProject and application id (used for AIR descriptor) of com.company.MyProject - -The project includes as3corelib and flexunit, and test scaffolding as well. - + == Tasks - Run: rake --tasks + # View all tasks + rake --tasks # Compiling rake air:compile # Running air debug launcher (ADL) @@ -42,5 +35,37 @@ # Testing rake air:test # Package AIR file rake air:package + +== Adding other tasks + +Add tasks to the rakefile, for example: + + # Run ADL for Catalog mxml + task :catalog do + ENV["MXML"] = "src/catalog/Catalog.mxml" + Rake::Task["air:adl"].invoke + end + +== Override default settings for Rakefile + +This is experimental. In the Rakefile, specify: + + # Override default settings, this is experimental + # cwd = File.expand_path(File.dirname(__FILE__)) + #ENV["MXMLC_PATH"] = "mxmlc" + #ENV["ADT_PATH"] = "adt" + #ENV["BIN_DIR"] = "#{cwd}/bin" + #ENV["SRC_DIR"] = "#{cwd}/src" + #ENV["LIB_DIR"] = "#{cwd}/lib" + #ENV["TEST_DIR"] = "#{cwd}/test" + #ENV["APPXML_PATH"] = "#{cwd}/src/MyProject-app.xml" + #ENV["AIR_PATH"] = "#{cwd}/bin/MyProject.air" + #ENV["SWF_PATH"] = "#{cwd}/bin/MyProject.swf" + #ENV["MXMLC_EXTRA_OPTS"] = ... + #ENV["ADL_EXTRA_OPTS"] = ... + #ENV["ADT_EXTRA_OPTS"] = ... + #ENV["MXMLC_COMMAND"] = ... + #ENV["ADL_COMMAND"] = ... + #ENV["ADT_COMMAND"] = ... \ No newline at end of file