diff options
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 |
