Compare commits

..

2 Commits

Author SHA1 Message Date
fszimnau 941e15389f added cleanup script for when the run script is aborted before being able to clean up 2025-09-04 16:54:22 +02:00
fszimnau 9addfe51d7 added comment for "git for windows" bash 2025-09-04 16:53:52 +02:00
4 changed files with 8 additions and 0 deletions
+5
View 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
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -uo pipefail 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 if [[ $# -ge 1 && $1 == "clean" ]]; then
rm -r target/; rm -r target/;
fi fi
+1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -uo pipefail 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 [[ ! -e dist ]]; then if [[ ! -e dist ]]; then
mkdir dist; mkdir dist;
fi fi
+1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -uo pipefail 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); originDir=$(pwd);
cd ~/zeitlaeufer/; cd ~/zeitlaeufer/;
tmpDir="/tmp/zeitlaeufer_$RANDOM"; tmpDir="/tmp/zeitlaeufer_$RANDOM";