Make package tarballs be in their own directory

This makes it harder to tarbomb a directory by accident.
This commit is contained in:
Nate Eagleson
2013-02-28 21:56:03 -05:00
parent 22eb6d86d4
commit 74c47f4ac8

View File

@@ -75,9 +75,12 @@
</target>
<target name="package" description="Package the application for distribution">
<copy todir="${basedir}/build/gitlist/">
<fileset dir="${basedir}" excludes="build/**, tests/**, phpunit.xml.dist, cache.properties, .gitignore, .travis.yml, build.xml, composer.json, composer.lock, config.ini" />
</copy>
<tar destfile="${basedir}/build/gitlist.tar.gz"
basedir="${basedir}/"
excludes="build/**, tests/**, phpunit.xml.dist, cache.properties, .gitignore, .travis.yml, build.xml, composer.json, composer.lock, config.ini"
basedir="${basedir}/build/"
compression="gzip"
longfile="gnu"
/>