Skip to content

Commit 7b968a7

Browse files
committed
Merge pull request #114 from GoodOlClint/buildcmd
Batch script to build project from command line
2 parents f73ccc7 + 6a8fbe8 commit 7b968a7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

build.cmd

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@echo off
2+
setlocal
3+
if "%VS120COMNTOOLS%"=="" GOTO NOTOOLS
4+
call "%VS120COMNTOOLS%\VsDevCmd.bat"
5+
msbuild .\PSScriptAnalyzer.sln /p:Configuration=Debug /l:FileLogger,Microsoft.Build.Engine;logfile=PSScriptAnalyzer_Build.log;append=true
6+
if NOT [%ERRORLEVEL%]==[0] pause
7+
8+
GOTO END
9+
10+
:NOTOOLS
11+
echo The Visual Studio 2013 tools are not installed
12+
pause
13+
14+
:END
15+
endlocal

0 commit comments

Comments
 (0)