Sha256: 22f3013880b534e03567a4b7d14222a07dc0b09f988473917b78f3bec1c0d50f

Contents?: true

Size: 595 Bytes

Versions: 5

Compression:

Stored size: 595 Bytes

Contents

namespace :flash do
    
  desc "Compile (on flash)"
  task :compile => :clean do
    begin
      project = Airake::Project.new_from_rake(ENV)
      Airake::Runner.run(project.mxmlc, :compile)
    end
  end
  
  desc "Clean"
  task :clean do 
    project = Airake::Project.new_from_rake(ENV)
    paths = project.to_clean
    
    # Test 
    test_project = Airake::Project.new_from_rake(ENV, :test)
    paths += project.to_clean
    
    paths.each do |path|
      FileUtils.rm(path, :verbose => true) if File.exist?(path)
    end
  end
  
  desc "Run"
  task :run do
    
    
    
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
airake-0.3.2 lib/airake/tasks/flash.rake
airake-0.4.0 lib/airake/tasks/flash.rake
airake-0.4.1 lib/airake/tasks/flash.rake
airake-0.4.2 lib/airake/tasks/flash.rake
airake-0.4.3 lib/airake/tasks/flash.rake