summaryrefslogtreecommitdiff
path: root/patches/eowyn.sh
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-02-09 20:58:41 +0000
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-02-09 20:58:41 +0000
commit838fb4ab9d68b53fe08974a4843996d483928438 (patch)
tree166f094e92d6819edfd0051763f6fc595c35eaeb /patches/eowyn.sh
parent1478d41801e6385efb5bf3a1acb12d71ad38eb8d (diff)
parentc13a00fc717bafaf41b65dba041d0ce0dbed9c82 (diff)
Merge branch 'main' into bit_man3
Diffstat (limited to 'patches/eowyn.sh')
-rwxr-xr-xpatches/eowyn.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/patches/eowyn.sh b/patches/eowyn.sh
index 8cac450..afc2732 100755
--- a/patches/eowyn.sh
+++ b/patches/eowyn.sh
@@ -12,6 +12,12 @@
# using the patches in this directory and convey them
# to convalesce in the healed directory.
#
+delete_progress() {
+ progress_file=".progress.txt"
+ if [ -f $progress_file ]; then
+ rm $progress_file
+ fi
+}
set -e
# We check ourselves before we wreck ourselves.
@@ -23,9 +29,12 @@ fi
# Which version we have?
echo "Zig version" $(zig version)
-echo "Eowyn version 23.10.5.1, let's try our magic power."
+echo "Eowyn version 25.1.9, let's try our magic power."
echo ""
+# Remove progress file
+delete_progress
+
# Create directory of healing if it doesn't already exist.
mkdir -p patches/healed
@@ -54,3 +63,6 @@ zig fmt --check patches/healed
# Test the healed exercises. May the compiler have mercy upon us.
zig build -Dhealed
+
+# Remove progress file again
+delete_progress