add bat scripts

This commit is contained in:
RaidMax 2018-04-08 01:44:27 -05:00
parent 3c3adb062e
commit 57fd5fae22
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,16 @@
set SolutionDir=%1
set ProjectDir=%2
set TargetDir=%3
if not exist "%TargetDir%x86" (
echo "Copying SQLCe binaries"
md "%TargetDir%x86"
xcopy /y "%SolutionDir%SharedLibrary\LibSQLCe\x86" "%TargetDir%x86\"
)
if not exist "%TargetDir%Plugins" (
echo "Making plugin dir"
md "%TargetDir%Plugins"
)
xcopy /y "%SolutionDir%Build\Plugins" "%TargetDir%Plugins\"

View File

@ -0,0 +1,9 @@
set SolutionDir=%1
set ProjectDir=%2
set TargetDir=%3
if "TargetDir" == "*Undefined*" (
echo "Copying extra files to publish dir"
xcopy /Y "%SolutionDir%BUILD\Plugins" "%SolutionDir%Publish\Plugins\"
xcopy /Y "%SolutionDir%SharedLibrary\LibSQLCe\x86" "%SolutionDir%Publish\x86\"
)

View File

@ -0,0 +1,3 @@
set SolutionDir=%1
set ProjectDir=%2
set TargetDir=%3