Source

RubyLearning / flex_test / vendor / plugins / flex_dev / tasks / flex_dev_tasks.rake

Full commit
require "flex_dev"
namespace :flex do
  desc "Build flex app in rails"
  task :build do
	# read the YAML file for Configuration
	flex = read_flex_config
	# Build the command string
  sep = File::SEPERATOR
  command = "mxmlc"
  if !flex["flex_home"].nil?
    command = "#{flex["flex_home"]}#{sep}bin#{sep}mxmlc "
  end
  sh command
  end
end