forked from I2P_Developers/i2p.i2p
Build: Make snark standalone buildable on windows without zip
This commit is contained in:
@ -206,12 +206,23 @@
|
|||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="standalone" depends="standalone_prep">
|
<target name="checkwin">
|
||||||
<!-- doesn't support file permissions
|
<condition property="iswin" >
|
||||||
|
<os family="windows" />
|
||||||
|
</condition>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="standalone" depends="standalone_prep, checkwin, zipit, zipwin">
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="zipwin" depends="standalone_prep" if="iswin">
|
||||||
|
<!-- doesn't support file permissions -->
|
||||||
<zip destfile="build/i2psnark-standalone.zip">
|
<zip destfile="build/i2psnark-standalone.zip">
|
||||||
<zipfileset dir="./build/i2psnark/" fullpath="i2psnark" />
|
<zipfileset dir="./build/i2psnark/" fullpath="i2psnark" />
|
||||||
</zip>
|
</zip>
|
||||||
-->
|
</target>
|
||||||
|
|
||||||
|
<target name="zipit" depends="standalone_prep" unless="iswin">
|
||||||
<exec executable="zip" dir="build" failifexecutionfails="true" failonerror="true" >
|
<exec executable="zip" dir="build" failifexecutionfails="true" failonerror="true" >
|
||||||
<arg value="-r" />
|
<arg value="-r" />
|
||||||
<arg value="i2psnark-standalone.zip" />
|
<arg value="i2psnark-standalone.zip" />
|
||||||
|
Reference in New Issue
Block a user