lib/app_generators/taza/taza_generator.rb in scudco-taza-0.8.6 vs lib/app_generators/taza/taza_generator.rb in scudco-taza-0.8.7
- old
+ new
@@ -22,18 +22,21 @@
m.template "rakefile.rb.erb", "rakefile"
m.template "config.yml.erb", File.join("config","config.yml")
m.template "spec_helper.rb.erb", File.join("spec","spec_helper.rb")
m.dependency "install_rubigen_scripts", [destination_root, 'taza'],
:shebang => options[:shebang], :collision => :force
+ m.template "console.erb", File.join("script","console")
+ m.template "console.cmd.erb", File.join("script","console.cmd")
end
end
def create_directories(m)
BASEDIRS.each { |path| m.directory path }
m.directory File.join('lib','sites')
m.directory File.join('spec','isolation')
m.directory File.join('spec','integration')
m.directory File.join('spec','story')
+ m.directory 'script'
end
protected
def banner
<<-EOS