diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-28 00:38:42 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-05 18:16:26 -0400 |
| commit | ec51666002900faa389ff0c8f34ed32c663bd723 (patch) | |
| tree | d3de7810df562128ddacac1dcb57b199acdfe2a3 /tools | |
| parent | 671b36c2c8d4026eb7a34f0ac7bd5720b34f1a0d (diff) | |
Render the UI at /.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/build-ui | 9 | ||||
| -rwxr-xr-x | tools/run | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/build-ui b/tools/build-ui new file mode 100755 index 0000000..a7ed9a5 --- /dev/null +++ b/tools/build-ui @@ -0,0 +1,9 @@ +#!/bin/bash -e + +## tools/build-ui +## +## Builds the Svelte UI. + +cd "$(dirname "$0")/../hi-ui" + +npm run build @@ -4,4 +4,5 @@ ## ## Run the server in development mode. Shorthand for `cargo run`. +tools/build-ui cargo run -- "$@" |
