Created
December 20, 2009 14:56
-
-
Save rickmzp/260517 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # get app name | |
| app_name = ask("What's the name of your app?") | |
| # clean up files | |
| run "rm -rf public/javascripts/* public/stylesheets" | |
| # compass | |
| run "compass --rails . -f 960 -r ninesixty" | |
| # git setup | |
| run "touch tmp/.gitignore log/.gitignore" | |
| file ".gitignore", <<-EOF | |
| .DS_Store | |
| *.swp | |
| log/*.log | |
| tmp/**/* | |
| config/database.yml | |
| db/*.sqlite3 | |
| EOF | |
| # initial commit | |
| 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