Add script to restore nuget packages for debug and release
This commit is contained in:
1 parent
a6f373aa1a
commit
d8932930ba
2 files changed
+8
-9
No files matched your search
@@ -6,14 +6,6 @@ if not exist build\src\lib\spark_lib.vcxproj (
|
||||
)
|
||||
copy /y tools\cpp.build.props build\Directory.Build.Props > nul
|
||||
@call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat" > nul
|
||||
call :restore src\client\spark
|
||||
call :restore src\client\sparkcmd
|
||||
msbuild /m /p:platform=x64 /clp:verbosity=minimal /clp:summary /t:restore spark_client.sln
|
||||
msbuild /m /p:platform=x64 /clp:verbosity=minimal /clp:summary spark_client.sln
|
||||
goto:eof
|
||||
|
||||
:restore
|
||||
pushd %1
|
||||
msbuild /p:platform=x64 /t:restore
|
||||
popd
|
||||
goto:eof
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
setlocal
|
||||
cd %~dp0\..
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\Tools\VsDevCmd.bat"
|
||||
msbuild /m /p:platform=x64 /clp:verbosity=minimal /clp:summary /t:restore spark_client.sln
|
||||
msbuild /m /p:platform=x64 /clp:verbosity=minimal /clp:summary /p:Configuration=release /t:restore spark_client.sln
|
||||
|
||||
Reference in new issue
Block a user