nandi/frqpublic Fork 0
ed2936960df13b0cc28607dea81869388694cac8
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

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

Take every jolt-native half from the release, and only from there a008d3b · on ed2936960df13b0cc28607dea81869388694cac8 · nandi · 18d ago
run.bb · 19 lines · 619 BBlitzBasic Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#_(
exec "$(dirname "$0")/bb" "$0" "$@"
)

;; The app, with the native libraries `just lib` linked into build/lib on the
;; loader path. Those are jolt-native's release, fetched by digest; nothing
;; here looks for a checkout of it.
(require '[babashka.fs :as fs]
         '[babashka.process :as p])

(def root (str (fs/canonicalize (fs/path (fs/parent *file*) ".."))))

(System/exit
 (:exit @(apply p/process
                {:inherit true
                 :extra-env {"LD_LIBRARY_PATH"
                             (str (fs/path root "build" "lib"))}}
                "jolt" "-M:frq" *command-line-args*)))