]> Arthur Taft Gitweb - website.git/commitdiff
add test function to makefile
authorArthur Taft <[email protected]>
Mon, 24 Nov 2025 04:40:36 +0000 (21:40 -0700)
committerArthur Taft <[email protected]>
Mon, 24 Nov 2025 04:40:36 +0000 (21:40 -0700)
Makefile

index 0e126443ccb4c47f14b02b49b33eb374b878d3dd..036fe27b9e2bb0e43345931a06625b454a95d7d5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,7 @@ help:
        @echo 'make build               default target, builds site into ./site'
        @echo 'make serve               serve site locally using simple python webserver'
        @echo 'make deploy              deploy site'
+       @echo 'make test                build and serve site'
        @echo 'make all                 build and deploy site'
        @echo 'make clean               cleans'
 
@@ -30,6 +31,9 @@ build:
 .PHONY: all
 all: build deploy
 
+.PHONY: test
+test: build serve
+
 .PHONY: serve
 serve:
        python -m http.server -d site