9 lines
309 B
Bash
Executable File
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
|