Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #120 from Heather/heather
Browse files Browse the repository at this point in the history
nothing but build script
  • Loading branch information
funnelweb committed Mar 29, 2013
2 parents d603cee + b4087ae commit c5d650d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 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 c5d650d

Please sign in to comment.