Skip to content

Commit

Permalink
don't try to invoke fsi.exe if it wasn't built
Browse files Browse the repository at this point in the history
  • Loading branch information
brettfo committed Mar 6, 2018
1 parent 0adb823 commit a044057
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -742,9 +742,11 @@ if "%BUILD_PHASE%" == "1" (
echo ---------------- Done with build, starting assembly version checks ---------------
set asmvercheckpath=%~dp0tests\fsharpqa\testenv\src\AssemblyVersionCheck

echo "%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
"%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
if ERRORLEVEL 1 echo Error verifying assembly versions and commit hashes. && goto :failure
if "%BUILD_NET40%" == "1" (
echo "%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
"%~dp0%BUILD_CONFIG%\net40\bin\fsi.exe" %asmvercheckpath%\AssemblyVersionCheck.fsx -- "%~dp0build\config\AssemblySignToolData.json" "%~dp0%BUILD_CONFIG%"
if ERRORLEVEL 1 echo Error verifying assembly versions and commit hashes. && goto :failure
)

echo ---------------- Done with assembly version checks, starting assembly signing ---------------

Expand Down

0 comments on commit a044057

Please sign in to comment.