summaryrefslogtreecommitdiffstats
path: root/make/gluegen-archivetasks.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/gluegen-archivetasks.xml')
-rw-r--r--make/gluegen-archivetasks.xml19
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>
+