Sha256: 31b656ce3a37f43ff999efa167740c3b58d0f96f3796694a573f72a64d74dace

Contents?: true

Size: 1.08 KB

Versions: 31

Compression:

Stored size: 1.08 KB

Contents

require 'rubygems'
require 'bundler'
Bundler.require

library :corelib

# Configure the default environment:
env :default do
  set :input, 'src/SomeProject.as'
  set :output, 'bin/SomeProject.swf'
  set :libraries, [:corelib]
end

# Configure the deployed environment:
env :deploy => :default do
  set :debug, false
end

# Configure the demo environment:
env :demo => :deploy do
  set :debug, true
end

# Configure the test environment:
env :test => :deploy do
  set :input , 'src/SomeProjectRunner.as'
  set :output, 'bin/SomeProjectRunner.swf'

  library :asunit4
  set :libraries, [:corelib, :asunit4]
end

# Configure the Continuous Integration environment:
evn :ci => :test do
  set :input, 'src/SomeProjectXMLRunner.as'
  set :output, 'bin/SomeProjectXMLRunner.swf'
end


desc 'Build the application'
mxmlc get(:output) => get(:libraries) do |t|
  t.input = get(:input)
  t.debug = get(:debug)
end

desc 'Compile and run the application'
flashplayer :run => get(:output)

desc 'Compile and debug the application'
fdb :debug => get(:output) do |t|
  t.kill_on_fault = true
end

task :default => :run

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
sprout-1.1.18.pre test/fixtures/examples/rakefile.rb
sprout-1.1.17.pre test/fixtures/examples/rakefile.rb
sprout-1.1.16.pre test/fixtures/examples/rakefile.rb
sprout-1.1.15.pre test/fixtures/examples/rakefile.rb
sprout-1.1.14.pre test/fixtures/examples/rakefile.rb
sprout-1.1.13.pre test/fixtures/examples/rakefile.rb
sprout-1.1.11.pre test/fixtures/examples/rakefile.rb
sprout-1.1.10.pre test/fixtures/examples/rakefile.rb
sprout-1.1.7.pre test/fixtures/examples/rakefile.rb
sprout-1.1.5.pre test/fixtures/examples/rakefile.rb
sprout-1.1.4.pre test/fixtures/examples/rakefile.rb
sprout-1.1.3.pre test/fixtures/examples/rakefile.rb
sprout-1.1.2.pre test/fixtures/examples/rakefile.rb
sprout-1.0.35.pre test/fixtures/examples/rakefile.rb
sprout-1.0.32.pre test/fixtures/examples/rakefile.rb
sprout-1.0.31.pre test/fixtures/examples/rakefile.rb
sprout-1.0.29.pre test/fixtures/examples/rakefile.rb
sprout-1.0.26.pre test/fixtures/examples/rakefile.rb
sprout-1.0.25.pre test/fixtures/examples/rakefile.rb
sprout-1.0.24.pre test/fixtures/examples/rakefile.rb