Got the tar task working as it should (after lots of tweaking)
This commit is contained in:
parent
08996497bd
commit
87d575503b
1 changed files with 7 additions and 6 deletions
|
@ -185,13 +185,13 @@
|
||||||
<!-- Packages the distribution with TAR-GZIP -->
|
<!-- Packages the distribution with TAR-GZIP -->
|
||||||
<!-- =================================================================== -->
|
<!-- =================================================================== -->
|
||||||
<target name="package-tgz" depends="package">
|
<target name="package-tgz" depends="package">
|
||||||
<tar tarfile="../${Name}-${version}.tar">
|
<tar tarfile="../${Name}-${version}.tar" basedir=".." excludes="**">
|
||||||
<tarfileset dir="../" mode="755">
|
<tarfileset dir=".." mode="755">
|
||||||
<include name="hop.sh"/>
|
<include name="${final.name}/hop.sh"/>
|
||||||
</tarfileset>
|
</tarfileset>
|
||||||
<tarfileset dir="../">
|
<tarfileset dir="..">
|
||||||
<include name="**/${final.name}/**"/>
|
<include name="${final.name}/**"/>
|
||||||
<exclude name="hop.sh"/>
|
<exclude name="${final.name}/hop.sh"/>
|
||||||
</tarfileset>
|
</tarfileset>
|
||||||
</tar>
|
</tar>
|
||||||
<gzip zipfile="../${Name}-${version}.tar.gz" src="../${Name}-${version}.tar"/>
|
<gzip zipfile="../${Name}-${version}.tar.gz" src="../${Name}-${version}.tar"/>
|
||||||
|
@ -238,3 +238,4 @@
|
||||||
</project>
|
</project>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue