From 32efb2b9db111b9fcb3b46e7ca24e00ebfbe377b Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Thu, 22 Dec 2016 10:59:40 -0800 Subject: [PATCH] Brought back the build scripts at GitLink owners' request I've modified from their original to be more reliable to paths with spaces, require at least MSBuild 14 (because that's the only thing tested), and clean build outputs from the new location --- scripts - Build - Debug.bat | 7 +++++++ scripts - Build - Release.bat | 7 +++++++ scripts - Clean all.bat | 4 ++++ scripts - Restore packages.bat | 3 +++ 4 files changed, 21 insertions(+) create mode 100644 scripts - Build - Debug.bat create mode 100644 scripts - Build - Release.bat create mode 100644 scripts - Clean all.bat create mode 100644 scripts - Restore packages.bat diff --git a/scripts - Build - Debug.bat b/scripts - Build - Debug.bat new file mode 100644 index 0000000..e0e893d --- /dev/null +++ b/scripts - Build - Debug.bat @@ -0,0 +1,7 @@ +@echo off +@setlocal + +IF NOT "%VS140COMNTOOLS%" == "" (call "%VS140COMNTOOLS%vsvars32.bat") + +for /F %%A in ('dir /b src\*.sln') do call devenv "src\%%A" /build "Debug" +pause \ No newline at end of file diff --git a/scripts - Build - Release.bat b/scripts - Build - Release.bat new file mode 100644 index 0000000..8cc9874 --- /dev/null +++ b/scripts - Build - Release.bat @@ -0,0 +1,7 @@ +@echo off +@setlocal + +IF NOT "%VS140COMNTOOLS%" == "" (call "%VS140COMNTOOLS%vsvars32.bat") + +for /F %%A in ('dir /b src\*.sln') do call devenv "src\%%A" /build "Release" +pause \ No newline at end of file diff --git a/scripts - Clean all.bat b/scripts - Clean all.bat new file mode 100644 index 0000000..11df517 --- /dev/null +++ b/scripts - Clean all.bat @@ -0,0 +1,4 @@ +REM Deleting output +FOR %%A in (bin obj\debug obj\release) do IF EXIST "%~dp0%%A" rd /s /q "%~dp0%%A" + +@pause diff --git a/scripts - Restore packages.bat b/scripts - Restore packages.bat new file mode 100644 index 0000000..4500c48 --- /dev/null +++ b/scripts - Restore packages.bat @@ -0,0 +1,3 @@ +call "%~dp0init.cmd" + +@pause