Sha256: 8dec20b2d652bc46f30e791d69d3f0e99b053ba15478e31b0cef8c9b8852aab7
Contents?: true
Size: 465 Bytes
Versions: 13
Compression:
Stored size: 465 Bytes
Contents
class ComponentGenerator < Sprout::Generator::NamedBase # :nodoc: def manifest record do |m| if(!user_requested_test) m.directory full_class_dir m.template 'Component.mxml', full_class_path.gsub(/.as$/, '.mxml') end m.directory full_test_dir m.template 'VisualTestCase.as', full_test_case_path m.template 'TestSuite.as', File.join(test_dir, 'AllTests.as'), :collision => :force end end end
Version data entries
13 entries across 13 versions & 2 rubygems