Skip to content

Commit

Permalink
Added gitignore template
Browse files Browse the repository at this point in the history
  • Loading branch information
1602 committed Aug 7, 2012
1 parent d66cf40 commit 1c3f63d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/generators.js
Expand Up @@ -144,6 +144,7 @@ exports.list = function () {
createFileByTemplate('db/schema', 'schema');
createViewByTemplate('app/views/layouts/application_layout', 'application_layout');
createFileByTemplate('public/index.html', 'index.html');
createFile('.gitignore', fs.readFileSync(path.join(__dirname, '/../templates/gitignore')));

// bootstrap files
createFileByTemplate('public/stylesheets/bootstrap-responsive.css', 'bootstrap-responsive.css');
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "railway",
"version": "0.2.17-pre3",
"version": "0.2.17-pre4",
"author": "Anatoliy Chakkaev",
"description": "RailwayJS - Ruby-on-Rails inspired MVC web framework, fully ExpressJS compatible",
"keywords": ["mvc", "web-framework", "rails", "ruby-on-rails", "express", "railway"],
Expand Down
19 changes: 19 additions & 0 deletions templates/gitignore
@@ -0,0 +1,19 @@
dump.rdb
lib-cov
*.log
*.csv
*.out
*.pid
pids
logs
results
node_modules
npm-debug.log
.idea
.DS_Store
log/*.log
.c9revisions
coverage.html
.settings
doc

0 comments on commit 1c3f63d

Please sign in to comment.