From 43af089b3588b6fd29a1b09be9874054e0291c5e Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Fri, 2 Jan 2026 08:28:01 +0000 Subject: Adds scaffolding for Vue.js frontend --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 68fc7ca..6a9d963 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.1