lib/generators/skeleton.rb in padrino-gen-0.1.3 vs lib/generators/skeleton.rb in padrino-gen-0.1.4
- old
+ new
@@ -23,10 +23,10 @@
component_option :test, "testing framework", :aliases => '-t', :choices => [:bacon, :shoulda, :rspec, :testspec, :riot]
component_option :mock, "mocking library", :aliases => '-m', :choices => [:mocha, :rr]
component_option :script, "javascript library", :aliases => '-s', :choices => [:jquery, :prototype, :rightjs]
component_option :renderer, "template engine", :aliases => '-r', :choices => [:erb, :haml]
- # Copies over the base sinatra starting project
+ # Copies over the Padrino base application skeleton
def setup_skeleton
self.destination_root = File.join(path, name)
@class_name = name.classify
directory("skeleton/", self.destination_root)
store_component_config('.components')