-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add script for running uppsat, and also version number
- Loading branch information
Peter Backeman
committed
Feb 5, 2018
1 parent
4e94b88
commit 0a0a9f2
Showing
3 changed files
with
7 additions
and
18 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
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 |
---|---|---|
@@ -1,17 +1,2 @@ | ||
#!/bin/sh | ||
|
||
if [ $(uname) = "Linux" ]; then | ||
pathCmd="readlink -f" | ||
elif [ $(uname) = "Darwin" ]; then | ||
pathCmd="stat -f %N" | ||
else | ||
pathCmd="realpath" | ||
fi | ||
|
||
BASEDIR=`dirname $($pathCmd $0)` | ||
TARGET=`echo $BASEDIR/target/scala-*/uppsat-assembly*.jar` | ||
JAVA=java | ||
|
||
export JAVA_OPTS="-Xss20000k -Xmx1500m" | ||
|
||
exec $JAVA -jar $TARGET "$@" | ||
#!/bin/bash | ||
scala uppsat.jar $@ |