aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorArnoldZokas <arnold.zokas@coderoom.net>2010-11-29 22:18:08 +0000
committerArnoldZokas <arnold.zokas@coderoom.net>2010-11-29 22:18:08 +0000
commit42e8ec7fd33ede9de812dbc62c553b95902c7358 (patch)
treef30a826ff3af8f047ca0bae2374934bea6dbd6ad /build
parent930ec0dab28b1753f02246275db7264844d78b59 (diff)
downloadprotobuf-42e8ec7fd33ede9de812dbc62c553b95902c7358.tar.gz
protobuf-42e8ec7fd33ede9de812dbc62c553b95902c7358.tar.bz2
protobuf-42e8ec7fd33ede9de812dbc62c553b95902c7358.zip
Added batch file for running 'GenerateReleasePackage'
Diffstat (limited to 'build')
-rw-r--r--build/BuildAll.bat1
-rw-r--r--build/GenerateReleasePackage.bat14
-rw-r--r--build/build.csproj1
3 files changed, 15 insertions, 1 deletions
diff --git a/build/BuildAll.bat b/build/BuildAll.bat
index e815d784..f46f7b3e 100644
--- a/build/BuildAll.bat
+++ b/build/BuildAll.bat
@@ -4,7 +4,6 @@
IF ERRORLEVEL 1 GOTO END
:SILVERLIGHT2
-ECHO RONG!
%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Debug_Silverlight2
:END
diff --git a/build/GenerateReleasePackage.bat b/build/GenerateReleasePackage.bat
new file mode 100644
index 00000000..b1cfa344
--- /dev/null
+++ b/build/GenerateReleasePackage.bat
@@ -0,0 +1,14 @@
+:BEGIN
+@ECHO OFF
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Release
+IF ERRORLEVEL 1 GOTO END
+
+:SILVERLIGHT2
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Release_Silverlight2
+IF ERRORLEVEL 1 GOTO END
+
+:GENERATE_PACKAGE
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:GeneratePackage /p:PackageScope=ReleaseBinaries
+
+:END
+PAUSE \ No newline at end of file
diff --git a/build/build.csproj b/build/build.csproj
index b493864b..21c6affc 100644
--- a/build/build.csproj
+++ b/build/build.csproj
@@ -23,5 +23,6 @@
<!-- targets -->
<Target Name="Build" DependsOnTargets="_Compile" />
<Target Name="RunBenchmarks" DependsOnTargets="_Compile" />
+ <Target Name="GeneratePackage" />
</Project>