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