Navigation Menu

Skip to content

Commit

Permalink
remove makefile and .gitignore when creating local components
Browse files Browse the repository at this point in the history
not sure how everyone uses these local components, but I use one app makefile and .gitignore and always need to delete the local ones.
  • Loading branch information
matthewmueller committed Feb 5, 2013
1 parent 3b7c7a0 commit 6968389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/component-create
Expand Up @@ -126,7 +126,7 @@ program.prompt(prompt, function(obj){
}

// makefile
write(join(dir, 'Makefile'), createMakefile(obj));
if(!local) write(join(dir, 'Makefile'), createMakefile(obj));

// readme
if (!local) write(join(dir, 'Readme.md'), readme(obj));
Expand All @@ -135,7 +135,7 @@ program.prompt(prompt, function(obj){
if (!local) write(join(dir, 'History.md'), '');

// .gitignore
write(join(dir, '.gitignore'), 'components\nbuild\n');
if (!local) write(join(dir, '.gitignore'), 'components\nbuild\n');

// write component.json
write(join(dir, 'component.json'), JSON.stringify(conf, null, 2));
Expand Down

0 comments on commit 6968389

Please sign in to comment.