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
class Configuration | |
def create_method(name, &block) | |
self.class.send(:define_method, name, &block ) | |
end | |
def add_configuration(name) | |
create_method "#{name.to_s}=" do |val| | |
instance_variable_set("@#{name}",val) | |
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
require "buildr/as3" | |
FLEX_SDK = FlexSDK.new("4.5.0.20967") | |
define "BuildingModules" do | |
project.version = "0.0.0" | |
define "Application" do | |
compile.using :mxmlc |
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
#This file has been generated by gator and wants to be edited by you! | |
Gator.project = Gator::Project.new "gator" | |
Gator.project.layout[:source,:main,:ruby] = "lib" | |
Gator.project.layout[:source,:test,:ruby] = "test" | |
puts Gator.project.path(:source,:main,:ruby) |
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
desc "a" | |
task :a do | |
system "tree" | |
system "git status" | |
end | |
desc "b" | |
task :b => :a do | |
system "ls" | |
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
java -jar ~/Development/Libraries/RedTamarin/redtamarin_0.3.1.1049_OSX/asc.jar -AS3 -strict -import ~/Development/Libraries/RedTamarin/redtamarin_0.3.1.1049_OSX/toplevel.abc -import ~/Development/Libraries/RedTamarin/redtamarin_0.3.1.1049_OSX/builtin.abc -import lib/main/as3/avmglue_0.1.0.2305/avmglue.abc src/main/as3/ftask.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
$ buildr test |
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' | |
# We need these maven repositories to download the flexunit4 and junit files | |
repositories.remote << "http://artifacts.devboy.org" << "http://repo2.maven.org/maven2" | |
define "AdvancedExample" do | |
define "MyApplication" do | |
compile.using :mxmlc | |
compile.options[:flexsdk] = FlexSDK.new("4.1.0.16076") |
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 | |
│ └── test | |
│ └── as3 | |
│ ├── MyApplicationTest.as | |
│ └── TestRunner.mxml |
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
$ 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
$ buildr clean |