File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
@ echo off
2
2
setlocal
3
+ if " %VS140COMNTOOLS% " == " " GOTO VS12TOOLS
4
+ call " %VS140COMNTOOLS% \VsDevCmd.bat"
5
+ GOTO BUILD
6
+
7
+ :VS12TOOLS
3
8
if " %VS120COMNTOOLS% " == " " GOTO NOTOOLS
4
9
call " %VS120COMNTOOLS% \VsDevCmd.bat"
10
+
11
+ :BUILD
5
12
set solutionPath = %1
6
13
set configuration = %2
7
14
set target = %3
8
15
if " %target% " == " clean" GOTO CLEAN
9
16
msbuild %solutionPath% /p:Configuration=%configuration% /l:FileLogger,Microsoft.Build.Engine;logfile=PSScriptAnalyzer_Build.log;append=true
10
17
GOTO END
11
18
12
- :NOTOOLS
13
- echo The Visual Studio 2013 tools are not installed
14
- GOTO END
15
-
16
19
:CLEAN
17
20
msbuild .\PSScriptAnalyzer.sln /p:Configuration=%configuration% /t:clean /l:FileLogger,Microsoft.Build.Engine;logfile=PSScriptAnalyzer_Build.log;append=true
21
+ GOTO END
22
+
23
+ :NOTOOLS
24
+ echo The Visual Studio 2013/2015 tools are not installed
18
25
19
26
:END
20
27
endlocal
You can’t perform that action at this time.
0 commit comments