Replaced zip command with git archive

This commit is contained in:
Abel Hoogeveen 2015-05-03 18:23:29 +02:00
parent 07f88f1913
commit a7204acd0c

View File

@ -27,8 +27,8 @@
</target>
<target name="zip">
<exec dir="${basedir}" executable="zip" failonerror="true">
<arg line="-r ${basedir}/build/fuzeworks-core.zip . -x build\* tests\* .git\* phpunit.phar apigen.phar phpunit.xml build.xml" />
<exec dir="${basedir}" executable="git" failonerror="true">
<arg line="archive -o ${basedir}/build/fuzeworks-core.zip HEAD" />
</exec>
</target>