Permalink
Browse files

added build and clean batch files to be used under windows without th…

…e need of cygwin
  • Loading branch information...
1 parent 177549c commit aa5dd43feb1551b711126d7224b18752aee96013 @sunlounger sunlounger committed Aug 9, 2011
Showing with 49 additions and 0 deletions.
  1. +25 −0 buildSolution.bat
  2. +24 −0 cleanSolution.bat
View
@@ -0,0 +1,25 @@
+@echo off
+if %1!==! goto help
+
+if %1==-r goto release
+if %1==-d goto debug
+goto help
+
+:release
+set CONFIG=RELEASE
+goto build
+
+:debug
+set CONFIG=DEBUG
+goto build
+
+:build
+call cleanSolution.bat
+c:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild CoreDeveloper.sln /p:Configuration=%CONFIG%
+goto exit
+
+:help
+echo -r build a release
+echo -d build with debug symbols
+
+:exit
View
@@ -0,0 +1,24 @@
+@echo off
+echo Backing up ITestPlugins
+md .temp
+copy .\Tests\TestLibrary\PluginManager\ITestPluginDLLs\*.dll .\.temp\*.safe
+echo Cleaning Solution...
+cd Applications
+del /S /Q *.pidb *.dll *.exe *.mdb *.pdb *.FilesWrittenAbsolute.txt
+cd ..\GraphDB
+del /S /Q *.pidb *.dll *.exe *.mdb *.pdb *.FilesWrittenAbsolute.txt
+cd ..\GraphDS
+del /S /Q *.pidb *.dll *.exe *.mdb *.pdb *.FilesWrittenAbsolute.txt
+cd ..\GraphFS
+del /S /Q *.pidb *.dll *.exe *.mdb *.pdb *.FilesWrittenAbsolute.txt
+cd ..\GraphQL
+del /S /Q *.pidb *.dll *.exe *.mdb *.pdb *.FilesWrittenAbsolute.txt
+cd ..\Library
+del /S /Q *.pidb *.dll *.exe *.mdb *.pdb *.FilesWrittenAbsolute.txt
+cd ..\Plugins
+del /S /Q *.pidb *.dll *.exe *.mdb *.pdb *.FilesWrittenAbsolute.txt
+cd ..
+echo Restoring ITestPlugins
+copy .\.temp\*.safe .\Tests\TestLibrary\PluginManager\ITestPluginDLLs\*.dll
+del .\.temp\*.safe
+rd .temp

0 comments on commit aa5dd43

Please sign in to comment.