From 3a893bc6d02fd6d1a6b9bb9af0deac5a89371dae Mon Sep 17 00:00:00 2001 From: Chad Condon Date: Wed, 28 Dec 2022 17:57:09 -0800 Subject: [PATCH] Delete build directory I frequently delete the build directory when re-configuring builds and it creates very noisy git diffs since the directory is currently tracked. --- .gitignore | 3 +++ cpputest_build/.gitignore | 2 -- scripts/appveyor_ci_build.ps1 | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 cpputest_build/.gitignore diff --git a/.gitignore b/.gitignore index b704fe83f..b25e988c8 100644 --- a/.gitignore +++ b/.gitignore @@ -100,3 +100,6 @@ generated/ *.LOG /console_output /exit + +# Builds +/cpputest_build/ diff --git a/cpputest_build/.gitignore b/cpputest_build/.gitignore deleted file mode 100644 index d6b7ef32c..000000000 --- a/cpputest_build/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/scripts/appveyor_ci_build.ps1 b/scripts/appveyor_ci_build.ps1 index 07d5e6f6f..5f33eacd6 100644 --- a/scripts/appveyor_ci_build.ps1 +++ b/scripts/appveyor_ci_build.ps1 @@ -2,6 +2,8 @@ # Load functions from the helper file . (Join-Path (Split-Path $MyInvocation.MyCommand.Path) 'appveyor_helpers.ps1') +mkdir cpputest_build + function Invoke-BuildCommand($command, $directory = '.') { $command_wrapped = "$command;`$err = `$?"