lib/sprout/generators/project/templates/rakefile.rb in sprout-as3-bundle-0.1.34 vs lib/sprout/generators/project/templates/rakefile.rb in sprout-as3-bundle-0.1.37
- old
+ new
@@ -11,10 +11,11 @@
# model.src_dir = 'src'
# model.lib_dir = 'lib'
# model.swc_dir = 'lib'
# model.bin_dir = 'bin'
# model.test_dir = 'test'
+ # model.doc_dir = 'doc'
# model.asset_dir = 'assets'
model.language = 'as3'
model.output = "#{model.bin_dir}/<%= project_name %>.swf"
model.test_output = "#{model.bin_dir}/<%= project_name %>Runner.swf"
end
@@ -88,5 +89,11 @@
t.input = "#{model.src_dir}/<%= project_name %>Runner.as"
t.source_path << model.src_dir
t.source_path << model.test_dir
t.source_path << model.asset_dir
end
+
+############################################
+# Build documentation for your application
+
+desc "Create documentation"
+asdoc model.doc_dir => model.output