diff --git a/WebfrontCore2/BuildScripts/PostBuild.bat b/WebfrontCore2/BuildScripts/PostBuild.bat new file mode 100644 index 000000000..2009b3abc --- /dev/null +++ b/WebfrontCore2/BuildScripts/PostBuild.bat @@ -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\" \ No newline at end of file diff --git a/WebfrontCore2/BuildScripts/PostPublish.bat b/WebfrontCore2/BuildScripts/PostPublish.bat new file mode 100644 index 000000000..e5486b1ab --- /dev/null +++ b/WebfrontCore2/BuildScripts/PostPublish.bat @@ -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\" +) \ No newline at end of file diff --git a/WebfrontCore2/BuildScripts/PreBuild.bat b/WebfrontCore2/BuildScripts/PreBuild.bat new file mode 100644 index 000000000..fbde9f9b5 --- /dev/null +++ b/WebfrontCore2/BuildScripts/PreBuild.bat @@ -0,0 +1,3 @@ +set SolutionDir=%1 +set ProjectDir=%2 +set TargetDir=%3