lib/hajimeru/generator/sinatra.rb in hajimeru-0.1.2 vs lib/hajimeru/generator/sinatra.rb in hajimeru-0.1.3
- old
+ new
@@ -12,20 +12,25 @@
end
def create_files
[
"views/layout.haml",
+ "LICENSE.txt",
+ "README.md",
].each do |path|
template("#{path}.tt", "#{name}/#{path}")
end
end
def copy_files
[
+ "assets/js/application.js.es6",
"views/index.haml",
+ "public/.gitkeep",
"app.rb",
"config.ru",
"Gemfile",
+ "Rakefile",
].each do |path|
copy_file(path, "#{name}/#{path}")
end
end
end