Skip to content
Browse files

Ignore .gitignore by default

  • Loading branch information...
1 parent 1390e15 commit 3109af837e8cc66f4a3e88c3b2af682c2a1b841b @brokensandals committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 README.md
  2. +1 −1 lib/codger/skeleton.rb
View
2 README.md
@@ -19,7 +19,7 @@ Here's how the skeleton repo will be used:
1. If there is a script named `generate.rb` in the root directory, it will be run.
2. Files ending in `.erb` will be [interpolated](http://ruby-doc.org/stdlib-1.9.3/libdoc/erb/rdoc/ERB.html) and written to the target directory.
-3. Other files will be copied directly to the target directory. (Exceptions: README, README.md, README.markdown)
+3. Other files will be copied directly to the target directory. (Exceptions: README, README.md, README.markdown, .gitignore)
### Parameters
View
2 lib/codger/skeleton.rb
@@ -44,7 +44,7 @@ def initialize(repo, info)
# Perform code generation using the process outlined in the class documentation.
def generate
- @to_copy = @git.ls_files.keys - ['README', 'README.md', 'README.markdown', 'generate.rb']
+ @to_copy = @git.ls_files.keys - ['README', 'README.md', 'README.markdown', 'generate.rb', '.gitignore']
code_path = src_path('generate.rb')
if File.exists?(code_path)

0 comments on commit 3109af8

Please sign in to comment.
Something went wrong with that request. Please try again.