-
Notifications
You must be signed in to change notification settings - Fork 1
/
rakefile.rb
44 lines (37 loc) · 1.19 KB
/
rakefile.rb
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
require 'sprout'
# Optionally load gems from a server other than rubyforge:
# set_sources 'http://gems.projectsprouts.org'
sprout 'as3'
############################################
# Configure your Project Model
p = project_model :model do |m|
m.project_name = 'Tribby'
m.language = 'as3'
m.background_color = '#FFFFFF'
m.width = 400
m.height = 100
# m.src_dir = 'src'
# m.lib_dir = 'lib'
# m.swc_dir = 'lib'
# m.bin_dir = 'bin'
# m.test_dir = 'test'
# m.doc_dir = 'doc'
# m.asset_dir = 'assets'
#m.compiler_gem_name = 'sprout-flex4sdk-tool'
# m.compiler_gem_version = '>= 4.0.0'
# m.source_path << "#{m.lib_dir}/somelib"
# m.libraries << :corelib
end
desc 'Compile and run the application for debugging'
debug :debug
desc 'Compile and run the test harness'
unit :test
desc 'Compile for deployment'
deploy :deploy
desc 'Generate documentation'
document :doc
# set up the default rake task
task :default => :debug
# Coming Soon....
#desc "Generate Flex Builder projects"
#flex_builder :project