Files
tbd/script/ui-build
ajet a46428a757
CI / Test + coverage (push) Successful in 1m15s
add ui
2026-09-19 06:49:28 -09:00

9 lines
309 B
Bash
Executable File

#!/usr/bin/env bash
# Compile the re-frame UI (ui/) to resources/public/js, which the server serves at /js.
# Needs Node and a JDK. Run this before script/server; restart isn't required afterwards.
set -euo pipefail
cd "$(dirname "$0")/../ui"
[[ -d node_modules ]] || npm ci
exec npx shadow-cljs release app