Fix unbuild .gitignore

Running the unbuild step wipes out the src/.gitignore file. Instead,
now the root .gitignore file is told to ignore src/.
Prevents a scenario where you run unbuild, it wipes out the .gitignore
file, and `git status` shows all the new src files as untracked. A
developer could accidentally commit them without realizing it.
This commit is contained in:
Jesse Gibson 2016-12-16 10:27:49 -07:00
parent ad345582aa
commit 09f8f37beb
2 changed files with 4 additions and 5 deletions

3
.gitignore vendored
View File

@ -8,3 +8,6 @@ yarn.lock
*.bak
*.new
*.DS_store
# Unbuilt files.
src/

4
src/.gitignore vendored
View File

@ -1,4 +0,0 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore