nandi/clonimpublic Fork
⑂ 48070f5
Commits
⬇ Clone ▾
git clone https://git.rickub.com/nandi/clonim.git
git clone ssh://git@rickub.com/nandi/clonim.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

ci: locate Choosenim library directory

nandithebull committed 2026-09-20T23:34:41-07:00 Browse files
48070f5 parent: f7be036
modified .github/workflows/release.yml +5 -1
@@ -74,7 +74,11 @@ jobs:
7474 run: |
7575 appdir=dist/clonim.AppDir
7676 install -Dm755 bin/clonim "$appdir/usr/bin/clonim"
77- nim_lib=$(nim dump --hints:off | tail -n 1)
77+ nim_lib=$(nim dump --hints:off 2>&1 | grep '^/.*\/lib$' | tail -n 1)
78+ test -f "$nim_lib/system.nim" || {
79+ echo "Unable to locate Nim's library directory" >&2
80+ exit 1
81+ }
7882 nim_root=$(dirname "$nim_lib")
7983 nim_bin="$nim_root/bin/nim"
8084 install -Dm755 "$nim_bin" "$appdir/usr/bin/nim"
@@ -74,7 +74,11 @@ jobs:
74 run: |74 run: |
75 appdir=dist/clonim.AppDir75 appdir=dist/clonim.AppDir
76 install -Dm755 bin/clonim "$appdir/usr/bin/clonim"76 install -Dm755 bin/clonim "$appdir/usr/bin/clonim"
77- nim_lib=$(nim dump --hints:off | tail -n 1)77+ nim_lib=$(nim dump --hints:off 2>&1 | grep '^/.*\/lib$' | tail -n 1)
78+ test -f "$nim_lib/system.nim" || {
79+ echo "Unable to locate Nim's library directory" >&2
80+ exit 1
81+ }
78 nim_root=$(dirname "$nim_lib")82 nim_root=$(dirname "$nim_lib")
79 nim_bin="$nim_root/bin/nim"83 nim_bin="$nim_root/bin/nim"
80 install -Dm755 "$nim_bin" "$appdir/usr/bin/nim"84 install -Dm755 "$nim_bin" "$appdir/usr/bin/nim"