summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/build-ui9
-rwxr-xr-xtools/run1
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
diff --git a/tools/run b/tools/run
index b063eb7..452355e 100755
--- a/tools/run
+++ b/tools/run
@@ -4,4 +4,5 @@
##
## Run the server in development mode. Shorthand for `cargo run`.
+tools/build-ui
cargo run -- "$@"