Compare commits
6 Commits
73c270fe1c
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
96fee5b19c | ||
|
847d899a2a | ||
|
941e15389f | ||
|
9addfe51d7 | ||
|
a21c318d90 | ||
|
b473dcf264 |
5
cleanupRunDirs.sh
Normal file
5
cleanupRunDirs.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -uo pipefail
|
||||
|
||||
# when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command
|
||||
rm -rf /tmp/zeitlaeufer_*;
|
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -uo pipefail
|
||||
|
||||
# when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command
|
||||
if [[ $# -ge 1 && $1 == "clean" ]]; then
|
||||
rm -r target/;
|
||||
fi
|
||||
|
@@ -1,8 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
set -uo pipefail
|
||||
|
||||
if [[ -d dist/ ]]; then
|
||||
rm -r dist/;
|
||||
# when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command
|
||||
if [[ ! -e dist ]]; then
|
||||
mkdir dist;
|
||||
fi
|
||||
|
||||
cp -r target/ dist/;
|
||||
rm -r dist/* 2>/dev/null;
|
||||
cd target/;
|
||||
jar cf ../dist/zeitlaeufer.jar **/*;
|
||||
cd ..;
|
||||
|
14
runProject.sh
Normal file
14
runProject.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
set -uo pipefail
|
||||
|
||||
# when executed as executable file in "git for windows" bash some things won't work, so always run with prefixed command
|
||||
originDir=$(pwd);
|
||||
cd ~/zeitlaeufer/;
|
||||
tmpDir="/tmp/zeitlaeufer_$RANDOM";
|
||||
mkdir $tmpDir;
|
||||
cp dist/zeitlaeufer.jar $tmpDir;
|
||||
cd $originDir;
|
||||
# java -cp $tmpDir/zeitlaeufer.jar $@;
|
||||
# -p <=> --module-path | -m <=> --module
|
||||
java --module-path $tmpDir/zeitlaeufer.jar --module zeitlaeufer/$@;
|
||||
rm -r $tmpDir;
|
2
src/module-info.java
Normal file
2
src/module-info.java
Normal file
@@ -0,0 +1,2 @@
|
||||
module zeitlaeufer {
|
||||
}
|
Reference in New Issue
Block a user