From 51104b4b5d3310814d13008410f5584cef779d76 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 2 Nov 2022 23:54:57 +0100 Subject: Added a run makefile target --- GNUmakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index e749412..fd41a37 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -27,8 +27,12 @@ init: ## make init # initialize project dependencies push: ## make push # push the built image to quay.io buildah push adyxax/grenade-brothers quay.io/adyxax/grenade-brothers:$(REVISION) +.PHONY: run +run: ## make run # run a nodejs web server + node_modules/.bin/w4 run --port 80 --no-open --no-qr zig-out/lib/cart.wasm + .PHONY: serve -serve: ## make serve # run a nodejs web server +serve: ## make serve # run a nodejs development web server that watches the code file and recompiles upon changes node_modules/.bin/w4 watch --no-open --no-qr .DEFAULT_GOAL := help -- cgit v1.2.3