a9cd7750f4
CI / unit-test (push) Has been cancelled
CI / detect-changes (push) Has been cancelled
CI / build (push) Has been cancelled
Publish docs via GitHub Pages / Deploy docs (push) Has been cancelled
CI / test-harness (push) Has been cancelled
CI / generate-e2e-matrix (push) Has been cancelled
CI / e2e (push) Has been cancelled
CI / build-ui (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
UI v2 Integration CI / E2E (Integration) (push) Has been cancelled
UI v2 CI / Lint, Format & Test (push) Has been cancelled
UI v2 CI / E2E (Mocked) (push) Has been cancelled
17 lines
456 B
Bash
Executable File
17 lines
456 B
Bash
Executable File
#!/bin/sh
|
|
# Build ui-next and copy assets into the server resource directories.
|
|
# This is the ui-next equivalent of build_ui.sh — the original build_ui.sh
|
|
# (which builds ui/ with yarn) is left unchanged.
|
|
set -e
|
|
|
|
cd ui-next
|
|
pwd
|
|
pnpm install
|
|
pnpm build
|
|
echo "Done building ui-next, copying dist to server"
|
|
cd ..
|
|
pwd
|
|
mkdir -p server/src/main/resources/static
|
|
rm -rf server/src/main/resources/static/*
|
|
cp -r ui-next/dist/. server/src/main/resources/static/
|