Sha256: fc63e4e6bc15d5965853b892f4f3d1f9e140d4d0488049b63c4f2310f840c237
Contents?: true
Size: 670 Bytes
Versions: 9
Compression:
Stored size: 670 Bytes
Contents
module FlashSDK class ProjectGenerator < ClassGenerator include FlashSDK::FlashHelper add_param :css, Path, { :default => 'css' } add_param :images, Path, { :default => 'images' } add_param :fonts, Path, { :default => 'fonts' } def manifest directory input do template 'rakefileFlashsdk.rb' template 'Gemfile' directory src do template "#{test_runner_name}.as", 'ActionScript3RunnerClass.as' template 'FlashSDKListener.as', 'FlashSDKListener.as' end # Create empty directories: directory lib end end def test "#{class_name}/test" end end end
Version data entries
9 entries across 9 versions & 1 rubygems