diff options
author | Sven Gothel <[email protected]> | 2011-02-23 04:45:47 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-23 04:45:47 +0100 |
commit | 06d6c31e74357d550311795a92733822805a9215 (patch) | |
tree | 99ba07315993196ec2234aa3f66a101f573a205a /make/gluegen-archivetasks.xml | |
parent | 32059c88643fbf34ae05e5615d6b27b3313cafe5 (diff) |
Provide task 'archive.7z' and use it instead of zip
Diffstat (limited to 'make/gluegen-archivetasks.xml')
-rw-r--r-- | make/gluegen-archivetasks.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/make/gluegen-archivetasks.xml b/make/gluegen-archivetasks.xml new file mode 100644 index 0000000..536441c --- /dev/null +++ b/make/gluegen-archivetasks.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="GlueGen-archivetasks" basedir="."> + <macrodef name="archive.7z"> + <attribute name="basedir" /> + <attribute name="destfile" /> + <attribute name="includes" /> + <sequential> + <delete file="@{destfile}" quiet="true" failonerror="false" /> + <exec executable="7z" + dir="@{basedir}" + spawn="false" + failifexecutionfails="true" + failonerror="true"> + <arg line="a -r @{destfile} @{includes}"/> + </exec> + </sequential> + </macrodef> +</project> + |