From 63c0289e2873fbc6fada33b247911334617b447b Mon Sep 17 00:00:00 2001 From: Wayne Warthen Date: Fri, 21 Aug 2015 20:57:48 -0700 Subject: [PATCH] Handle Output directory better Git refuses to store empty directories. So, build scripts modified to create Output directory as needed. --- Build.cmd | 5 +++++ BuildImages.cmd | 2 ++ Clean.cmd | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Build.cmd b/Build.cmd index 13a64142..014edcf5 100644 --- a/Build.cmd +++ b/Build.cmd @@ -1,4 +1,9 @@ @echo off + setlocal + +if not exist Output md Output + cd Source + call Build %* diff --git a/BuildImages.cmd b/BuildImages.cmd index b1df14c2..9979c7c7 100644 --- a/BuildImages.cmd +++ b/BuildImages.cmd @@ -1,4 +1,6 @@ @echo off setlocal +if not exist Output md Output + pushd Images && Build && popd \ No newline at end of file diff --git a/Clean.cmd b/Clean.cmd index fd372bb5..6c86e1aa 100644 --- a/Clean.cmd +++ b/Clean.cmd @@ -8,4 +8,4 @@ pushd Images && call Clean && popd if exist *.img del *.img /Q if exist *.log del *.log /Q -if exist Output\*.* del Output\*.* /Q +if exist Output rd /s /q Output \ No newline at end of file