From 09f8f37bebd5b918b5d2bb97ccb4a9bae4f3488b Mon Sep 17 00:00:00 2001 From: Jesse Gibson Date: Fri, 16 Dec 2016 10:27:49 -0700 Subject: [PATCH] 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. --- .gitignore | 5 ++++- src/.gitignore | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 src/.gitignore diff --git a/.gitignore b/.gitignore index 56f45cc2..0c6bbfb9 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,7 @@ yarn.lock .idea/ *.bak *.new -*.DS_store +*.DS_store + +# Unbuilt files. +src/ diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index 5e7d2734..00000000 --- a/src/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore