diff options
author | Jon Skeet <skeet@pobox.com> | 2009-01-16 11:52:44 +0000 |
---|---|---|
committer | unknown <Jon@.(none)> | 2009-01-16 11:52:44 +0000 |
commit | 343d9f54b4d5cccdc4d5c3f1392fc7a79f7cc585 (patch) | |
tree | a63b7c68a169783697b23e969a64c7ea030b27a9 /ProtocolBuffers.build | |
parent | 8f8186a30b9b8d865c6211eb91a4df8aae1f40d5 (diff) | |
download | protobuf-343d9f54b4d5cccdc4d5c3f1392fc7a79f7cc585.tar.gz protobuf-343d9f54b4d5cccdc4d5c3f1392fc7a79f7cc585.tar.bz2 protobuf-343d9f54b4d5cccdc4d5c3f1392fc7a79f7cc585.zip |
Upgraded to protoc.exe 2.0.3. Added new build target of clean-build
Diffstat (limited to 'ProtocolBuffers.build')
-rw-r--r-- | ProtocolBuffers.build | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ProtocolBuffers.build b/ProtocolBuffers.build index 23cd6b40..bb45fc17 100644 --- a/ProtocolBuffers.build +++ b/ProtocolBuffers.build @@ -44,6 +44,29 @@ value="${src}/ProtoGen/bin/${tools-protogen-config}/protogen.exe" overwrite="false"/> + <target name="clean-build" + description="Rebuilds all source and binaries, 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" /> + <!-- + - 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> |