summaryrefslogtreecommitdiff
path: root/genafx-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'genafx-test.sh')
-rwxr-xr-xgenafx-test.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/genafx-test.sh b/genafx-test.sh
index 4f9726f9..b84e0fd7 100755
--- a/genafx-test.sh
+++ b/genafx-test.sh
@@ -1,16 +1,21 @@
#!/bin/bash
+# Runs the AffixLister, formats the resulting text to PDF format, and then
+# displays it
+# The first argument is the base output name; the rest of the arguments are the
+# files to input
set -e
baseout="$1"
shift 1
fileset="$@"
-listopts="-z -n named"
+listopts="--guess-groups -z -n named"
outputfle=output/"$baseout".txt
errfle=output/"$baseout".err
-outputopts="-o $outputfle -e $errfle"
+afxgroupfle=output/"$baseout".afxgroup
+outputopts="-o $outputfle -e $errfle --output-affix-groups $afxgroupfle"
-mvn clean compile exec:java -Dexec.args="$outputopts $listopts $fileset"
+mvn compile exec:java -Dexec.args="$outputopts $listopts $fileset"
#java AffixLister $listopts $fileset > output/"$baseout".txt 2> output/"$baseout".err
tail -n 2 "$errfle"