Skip to content

Commit

Permalink
Prefer zip over tar for build target
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Jan 14, 2018
1 parent 9500d46 commit 45af080
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@

<target name="build" description="builds distributable ZIP archive">
<fail unless="version" message="version is not defined!"/>
<exec command="git archive -o export.tar HEAD" checkreturn="true"/>
<untar file="export.tar" todir="export"/>
<delete file="export.tar"/>
<exec command="git archive -o export.zip HEAD" checkreturn="true"/>
<unzip file="export.zip" todir="export"/>
<delete file="export.zip"/>
<move todir="dist">
<fileset dir="export">
<include name="classes/Plugin.php"/>
Expand Down

0 comments on commit 45af080

Please sign in to comment.