forked from dbpedia/extraction-framework
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
1 deletion.
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
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,13 @@ | ||
#!/bin/bash | ||
|
||
# Shortcut for | ||
# mvn -f ../pom.xml clean install && mvn scala:run -Dlauncher=... -DaddArgs=... | ||
# Must be called with one of the modules (core/, dump/, ...) as current directory. | ||
# Example: | ||
# extraction_framework/core> ../clean-install-run LAUNCHER ARG1 ARG2 ARG3 | ||
# is equivalent to | ||
# extraction_framework/core> mvn -f ../pom.xml clean install && mvn scala:run "-Dlauncher=LAUNCHER" "-DaddArgs=ARG1|ARG2|ARG3" | ||
|
||
# if we're not on a terminal, use batch mode to avoid ugly log files | ||
[ ! -t 1 ] && BATCH="-B" | ||
mvn $BATCH -f ../pom.xml install && . ../run "$@" |