diff options
author | Julien Dessaux | 2022-11-02 23:54:57 +0100 |
---|---|---|
committer | Julien Dessaux | 2022-11-02 23:54:57 +0100 |
commit | 51104b4b5d3310814d13008410f5584cef779d76 (patch) | |
tree | 6c4819a93c7434cc7ac39c94e1d4b62e8235233f | |
parent | Added build with buildah and deploy to kubernetes (diff) | |
download | grenade-brothers-51104b4b5d3310814d13008410f5584cef779d76.tar.gz grenade-brothers-51104b4b5d3310814d13008410f5584cef779d76.tar.bz2 grenade-brothers-51104b4b5d3310814d13008410f5584cef779d76.zip |
Added a run makefile target
Diffstat (limited to '')
-rw-r--r-- | GNUmakefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |