summaryrefslogtreecommitdiff
path: root/genafx-test.sh
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2020-12-29 19:06:25 -0400
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2020-12-29 19:06:25 -0400
commit4808d411b3b6e4e237f7a7c336c751419e763d2b (patch)
tree99fb8bf966d117e0b1b7e18fc660af7b7a87258d /genafx-test.sh
parenteeaf62f7a2ac1d23c2a9876ad0c86795edf804ae (diff)
General update
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"