aboutsummaryrefslogtreecommitdiff
path: root/ProtocolBuffers.build
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2010-04-01 20:32:45 +0100
committerunknown <Jon@.(none)>2010-04-01 20:32:45 +0100
commitae9b3ff224eb251674584e8e414010d2d0ed2cb1 (patch)
tree876497e16a500a17c0cae7755c1afabfa5d0b265 /ProtocolBuffers.build
parentd3f2d098fa39596bf6ea59bb93d485e8aaaf7476 (diff)
downloadprotobuf-ae9b3ff224eb251674584e8e414010d2d0ed2cb1.tar.gz
protobuf-ae9b3ff224eb251674584e8e414010d2d0ed2cb1.tar.bz2
protobuf-ae9b3ff224eb251674584e8e414010d2d0ed2cb1.zip
Release preparation
Diffstat (limited to 'ProtocolBuffers.build')
-rw-r--r--ProtocolBuffers.build25
1 files changed, 25 insertions, 0 deletions
diff --git a/ProtocolBuffers.build b/ProtocolBuffers.build
index 2a382ad1..849c4d0b 100644
--- a/ProtocolBuffers.build
+++ b/ProtocolBuffers.build
@@ -83,6 +83,29 @@
<call target="dist" />
</target>
+ <target name="clean-build-all"
+ description="Rebuilds all source and binaries in all configurations, including distribution">
+
+ <!--
+ - Use call instead of dependencies to make it clear what's going on: we
+ - need to call some targets multiple times.
+ -->
+ <call target="clean" />
+ <call target="build" />
+ <call target="generate-source" />
+ <call target="copy-generated-source" />
+ <!-- Now we've got fresh source, build again -->
+ <call target="clean" />
+ <call target="build-all-configs" />
+ <!--
+ - In particularly insane situations we should possibly do another
+ - round of generating source and building, but it gets silly.
+ -->
+
+ <call target="test" />
+ <call target="dist" />
+ </target>
+
<target name="clean"
description="Removes built binaries (of all configurations) and the source generation directory">
<delete>
@@ -265,6 +288,7 @@
<include name="ProtoMunge/bin/Debug/ProtoMunge.*" />
<include name="ProtoDump/bin/Debug/ProtoDump.*" />
<include name="ProtoBench/bin/Debug/ProtoBench.*" />
+ <exclude name="**/*vshost*" />
</fileset>
</copy>
<copy todir="${output-dir}/Release"
@@ -275,6 +299,7 @@
<include name="ProtoMunge/bin/Release/ProtoMunge.*" />
<include name="ProtoDump/bin/Release/ProtoDump.*" />
<include name="ProtoBench/bin/Release/ProtoBench.*" />
+ <exclude name="**/*vshost*" />
</fileset>
</copy>
<copy todir="${output-dir}/Silverlight2"