From 78936415c2dc34ab93eb28eec7993f68dca8f97a Mon Sep 17 00:00:00 2001 From: Mike Karlesky Date: Thu, 28 Dec 2023 10:49:27 -0500 Subject: [PATCH] Modernized .gitignore Ceedling can generate --- assets/default_gitignore | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/assets/default_gitignore b/assets/default_gitignore index a9ebca2c..492412d9 100644 --- a/assets/default_gitignore +++ b/assets/default_gitignore @@ -1,5 +1,7 @@ -build/artifacts -build/gcov -build/logs -build/temp -build/test +# Ignore the build/ directory in the root of the project. +# Generally speaking, best practice is to omit generated files from revision control. +/build/ + +# But reserve the artifacts/ subdirectory for revision control. +# Ceedling's notion of artifacts includes reports or release binaries you *may* want to revision. +!/build/artifacts/