nandi/frqpublic Fork 0
da8477224f51f442c6cbe81414085e3da75366c8
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.

run.bb · 19 lines · 619 BBlitzBasic Blame HistoryRaw
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago1#!/bin/sh
2#_(
3exec "$(dirname "$0")/bb" "$0" "$@"
4)
5
Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago6;; The app, with the native libraries `just lib` linked into build/lib on the
7;; loader path. Those are jolt-native's release, fetched by digest; nothing
8;; here looks for a checkout of it.
9(require '[babashka.fs :as fs]
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago10 '[babashka.process :as p])
11
12(def root (str (fs/canonicalize (fs/path (fs/parent *file*) ".."))))
13
14(System/exit
15 (:exit @(apply p/process
16 {:inherit true
17 :extra-env {"LD_LIBRARY_PATH"
Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago18 (str (fs/path root "build" "lib"))}}
Write the build in babashka, and pin the babashka 34832a8 nandi 18d ago19 "jolt" "-M:frq" *command-line-args*)))