forked from gabriel/as3httpclient
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
28 lines (20 loc) · 800 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'rubygems'
require 'airake'
project_root = File.expand_path(File.dirname(__FILE__))
ENV["AIRAKE_ROOT"] ||= project_root
ENV["AIRAKE_ENV"] ||= "development"
task :default => :compile do; end
# For task list run, rake --tasks
task :test => [ "air:test" ] do; end
task :compile => [ "air:compile" ] do; end
task :package => [ "air:package" ] do; end
task :adl => [ "air:adl" ] do; end
task :docs => [ "air:docs" ] do; end
task :clean => [ "air:clean" ] do; end
task :acompc => [ "air:acompc" ] do; end
task :flash_swf do
cmd = "mxmlc +configname=flex -source-path #{project_root}/src -library-path+=#{project_root}/lib \
-output #{project_root}/html/HttpClientFlashApp.swf -- #{project_root}/src/org/httpclient/ui/HttpClientApp.mxml"
puts "Command: #{cmd}"
system(cmd)
end