diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/build-ui | 10 | ||||
| -rwxr-xr-x | tools/run | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tools/build-ui b/tools/build-ui new file mode 100755 index 0000000..48b83e6 --- /dev/null +++ b/tools/build-ui @@ -0,0 +1,10 @@ +#!/bin/bash -e + +## tools/build-ui +## +## Builds the Svelte UI. + +cd "$(dirname "$0")/../hi-ui" + +npm install +npm run build @@ -4,4 +4,5 @@ ## ## Run the server in development mode. Shorthand for `cargo run`. +tools/build-ui cargo run -- "$@" |
