Skip to content
Browse files

build script

  • Loading branch information...
1 parent 5276da1 commit b4087aea1411ca728b817a7b96bde815d1b51b84 @Cynede Cynede committed Feb 26, 2013
Showing with 22 additions and 0 deletions.
  1. +22 −0 build.bat
View
22 build.bat
@@ -0,0 +1,22 @@
+@echo off
+::Env
+if %PROCESSOR_ARCHITECTURE%==x86 (
+ set MSBuild="%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"
+) else (
+ set MSBUILD=%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
+)
+
+::Clean
+rm -rf lib/proto
+rm -rf lib/release
+
+::Build
+pushd .
+cd ./src
+set ABS_PATH=%CD%
+%MSBUILD% %ABS_PATH%/fsharp-proto-build.proj /p:TargetFramework=net40
+mv "../lib/release" "../lib/proto"
+
+%MSBUILD% %ABS_PATH%/fsharp-library-build.proj /p:TargetFramework=net40 /p:Configuration=Release
+%MSBUILD% %ABS_PATH%/fsharp-compiler-build.proj /p:TargetFramework=net40 /p:Configuration=Release
+popd

0 comments on commit b4087ae

Please sign in to comment.
Something went wrong with that request. Please try again.