diff options
| author | Paul Oliver <contact@pauloliver.dev> | 2026-01-02 08:28:01 +0000 |
|---|---|---|
| committer | Paul Oliver <contact@pauloliver.dev> | 2026-01-02 08:28:01 +0000 |
| commit | 43af089b3588b6fd29a1b09be9874054e0291c5e (patch) | |
| tree | e89ec99e4045e74269de6289db8533f41944cedb /Makefile | |
| parent | 62fce45039b0b8ab3d9d42b69a000fec00e1d35e (diff) | |
Adds scaffolding for Vue.js frontend
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,11 +1,18 @@ -resolver = $(shell curl -s https://www.stackage.org/download/snapshots.json | yq .lts) -packages = $(shell ls -dQm hsm-*) +resolver = $(shell curl -s https://www.stackage.org/download/snapshots.json | yq .lts) +packages = $(shell ls -dQm hsm-*) +client_dir = hsm-web/Client build: + cd $(client_dir) && npm run build stack build clean: + cd $(client_dir) && rm -rf dist stack clean --full update: + cd $(client_dir) && npm update yq -i '.resolver="$(resolver)" | .packages=[$(packages)]' stack.yaml + +watch: + cd $(client_dir) && npm run serve |
