Sha256: c59ac9f3dc5593f330fb1a692cd5795495acfc6a376841f745385f3474673225

Contents?: true

Size: 443 Bytes

Versions: 18

Compression:

Stored size: 443 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')
    end
  end
    
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
sprout-as3-bundle-0.1.38 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.1.39 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.1.34 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.1.37 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-1.0.11 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.1.40 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.2.2 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.2.1 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.2.3 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-1.0.12 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.1.45 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.1.41 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-1.0.10 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-1.0.14 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-0.2.9 lib/sprout/generators/component/component_generator.rb
sprout-as3-puremvc-bundle-0.1.0 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-1.0.9 lib/sprout/generators/component/component_generator.rb
sprout-as3-bundle-1.0.8 lib/sprout/generators/component/component_generator.rb