Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
Brought back the build scripts at GitLink owners' request
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AArnott committed Dec 22, 2016
1 parent 39b9baf commit 32efb2b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts - Build - Debug.bat
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions scripts - Build - Release.bat
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions scripts - Clean all.bat
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions scripts - Restore packages.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
call "%~dp0init.cmd"

@pause

0 comments on commit 32efb2b

Please sign in to comment.