forked from I2P_Developers/i2p.i2p
add 'ant bundle' target which generates a git bundle target iff the working copy is a git repository. Does not work with mtn clones.
This commit is contained in:
13
build.xml
13
build.xml
@@ -27,6 +27,7 @@
|
||||
<echo message=" installer5, installer5-linux, installer5-nowindows, installer5-windows: use IzPack 5" />
|
||||
<echo message=" osxLauncher: build the Mac OS X router/GUI launcher (OSX only)" />
|
||||
<echo message=" bbLauncher: build the Browser Bundle router launcher" />
|
||||
<echo message=" bundle: (GIT ONLY!) generate a git bundle and a corresponding torrent." />
|
||||
<echo message=" tarball: tar the full install into i2p.tar.bz2 (extracts to build a new clean install)" />
|
||||
<echo message=" updater: Package the built files in i2pupdate.zip (extracts safely over existing installs)" />
|
||||
<echo message=" updater200: Updater compressed with pack200 (creates i2pupdate200.zip, 60% smaller)" />
|
||||
@@ -2992,4 +2993,16 @@
|
||||
<checksum file="portable-win32.zip" forceOverwrite="yes"/>
|
||||
<move file="portable" tofile="pkg-temp"/>
|
||||
</target>
|
||||
<target name = "bundle" depends="pkg">
|
||||
<exec executable="git" failonerror="true">
|
||||
<arg value="bundle" />
|
||||
<arg value="create" />
|
||||
<arg value="i2p.i2p.bundle" />
|
||||
<arg value="--all" />
|
||||
<arg value="--branches" />
|
||||
<arg value="--tags" />
|
||||
</exec>
|
||||
<mktorrent file="i2p.i2p.bundle" />
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
Reference in New Issue
Block a user