Skip to content

Instantly share code, notes, and snippets.

@moro
Created May 19, 2009 01:10
Show Gist options
  • Save moro/113852 to your computer and use it in GitHub Desktop.
Save moro/113852 to your computer and use it in GitHub Desktop.
run "rm public/index.html"
run "haml --rails ."
generate :rspec
generate :cucumber
generate :i18n,"--locale", "ja"
inside("public/stylesheets") do
Dir.mkdir("sass")
end
File.open(".gitignore", "w"){|f| f << <<-CONTENT }
doc
log
tmp
coverage
pkg
test
db/schema.rb
db/*.sqlite3
db/*_structure.sql
config/database.yml
*.dump
vendor/gems/*
# sass generates below
public/stylesheets/application.css
\#*\#
*~
CONTENT
git :init
git :add => "."
git :commit => "-a -m 'Initial commit'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment