-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New mode to run on a .info file with pre-created parse trees.
- Loading branch information
Showing
2 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/bash | ||
# | ||
# If you have a .info file with parse trees already. | ||
# This will identify the events and add TLINKs. | ||
# | ||
# runcaevoparsed.sh <info-file> | ||
# | ||
|
||
|
||
props=default.properties | ||
sieves=default.sieves | ||
|
||
# Having extra space at the end of the string seems to make maven angry. | ||
# Don't add arguments from $@ unless we have to. | ||
if (( $# > 0 )); then | ||
args="-info $1 parsed" | ||
echo "args: $args" | ||
mvn exec:java -Dexec.mainClass=caevo.Main -Dprops=$props -Dsieves=$sieves -Dexec.args="$args" | ||
else | ||
echo "./runcaevoparsed.sh <info-file-just-parses>" | ||
fi | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters