Copies the dependencies of Examples from runtime/bin to use latest Mobius bits
* Copies the dependencies of Examples from runtime/bin to use latest Mobius bits * Change the copy order - copy Mobius bits first
This commit is contained in:
Родитель
dd06da2275
Коммит
cc27f3a31a
|
@ -167,11 +167,16 @@ goto :copyscripts
|
|||
set EXAMPLES_SRC=%1
|
||||
set EXAMPLES_TARGET=%1
|
||||
call set EXAMPLES_TARGET=%%EXAMPLES_TARGET:%CURRDIR%=%EXAMPLES_HOME%%%
|
||||
set EXAMPLES_TARGET=%EXAMPLES_TARGET:~0,-3%
|
||||
set EXAMPLES_TARGET=%EXAMPLES_TARGET:~0,-4%
|
||||
|
||||
@echo mkdir %EXAMPLES_TARGET%
|
||||
if NOT EXIST "%EXAMPLES_TARGET%" mkdir "%EXAMPLES_TARGET%"
|
||||
copy /y "%EXAMPLES_SRC%\Release\*" "%EXAMPLES_TARGET%"
|
||||
|
||||
REM 1. Copy dependencies from %SPARKCLR_HOME%\bin to use latest Mobius binaries
|
||||
xcopy /y "%SPARKCLR_HOME%\bin\*" "%EXAMPLES_TARGET%"
|
||||
REM 2. copy Examples APPs
|
||||
xcopy /d /y "%EXAMPLES_SRC%\Release" "%EXAMPLES_TARGET%"
|
||||
|
||||
goto :eof
|
||||
|
||||
:copyscripts
|
||||
|
|
|
@ -58,9 +58,7 @@
|
|||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="App.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче