lib/awestruct/cli/init.rb in awestruct-0.5.6.beta8 vs lib/awestruct/cli/init.rb in awestruct-0.5.6.beta9
- old
+ new
@@ -16,11 +16,10 @@
mkdir('_layouts')
mkdir('_ext')
copy_file('_ext/pipeline.rb', Init.framework_path('base_pipeline.rb'))
copy_file('.awestruct_ignore', Init.framework_path('base_awestruct_ignore'))
copy_file('Rakefile', Init.framework_path('base_Rakefile'))
- copy_file('Gemfile', Init.framework_path('base_Gemfile'))
mkdir('stylesheets')
}
def initialize(dir = Dir.pwd, framework = 'compass', scaffold = true)
@dir = dir
@@ -29,9 +28,11 @@
end
def run()
manifest = Manifest.new(BASE_MANIFEST)
scaffold_name = @framework
+ manifest.template_file('Gemfile', Init.framework_path('base_Gemfile'), {:framework => @framework})
+
lib = nil
case @framework
when 'compass'
scaffold_name = 'blueprint'
when 'bootstrap'