2018-04-07 17:47:21 -04:00
|
|
|
set SolutionDir=%1
|
2018-04-07 17:46:43 -04:00
|
|
|
set ProjectDir=%2
|
|
|
|
set TargetDir=%3
|
2018-04-08 17:50:58 -04:00
|
|
|
set OutDir=%4
|
2018-09-12 20:53:11 -04:00
|
|
|
set Version=%5
|
|
|
|
|
|
|
|
echo %Version% > "%SolutionDir%DEPLOY\version.txt"
|
2018-04-07 17:46:43 -04:00
|
|
|
|
2018-04-09 15:17:10 -04:00
|
|
|
echo Copying dependency configs
|
2018-04-08 17:50:58 -04:00
|
|
|
copy "%SolutionDir%WebfrontCore\%OutDir%*.deps.json" "%TargetDir%"
|
|
|
|
copy "%SolutionDir%SharedLibaryCore\%OutDir%*.deps.json" "%TargetDir%"
|
2018-04-07 17:47:21 -04:00
|
|
|
|
|
|
|
if not exist "%TargetDir%Plugins" (
|
|
|
|
echo "Making plugin dir"
|
|
|
|
md "%TargetDir%Plugins"
|
|
|
|
)
|
|
|
|
|
2018-04-09 15:17:10 -04:00
|
|
|
xcopy /y "%SolutionDir%Build\Plugins" "%TargetDir%Plugins\"
|
|
|
|
|
|
|
|
echo Copying plugins for publish
|
2018-04-25 02:38:59 -04:00
|
|
|
del %SolutionDir%BUILD\Plugins\Tests.dll
|
|
|
|
xcopy /Y "%SolutionDir%BUILD\Plugins" "%SolutionDir%Publish\Windows\Plugins\"
|
2018-09-02 17:59:27 -04:00
|
|
|
xcopy /Y "%SolutionDir%BUILD\Plugins" "%SolutionDir%Publish\WindowsPrerelease\Plugins\"
|
|
|
|
|
|
|
|
echo Copying script plugins for publish
|
|
|
|
xcopy /Y "%SolutionDir%Plugins\ScriptPlugins" "%SolutionDir%Publish\Windows\Plugins\"
|
2020-01-11 21:32:27 -05:00
|
|
|
xcopy /Y "%SolutionDir%Plugins\ScriptPlugins" "%SolutionDir%Publish\WindowsPrerelease\Plugins\"
|