about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2025-01-29 21:55:48 +0100
committerAlan Pearce2025-01-29 21:55:48 +0100
commita93b5ad88ea3cf742cf03fdeeb95f63865f08374 (patch)
tree301b4d2bed5c76b20077c209241adadb77557673
parent127a675fc7cd9cdb65e4b4caac21e0f259102ee8 (diff)
downloadwebsite-a93b5ad88ea3cf742cf03fdeeb95f63865f08374.tar.lz
website-a93b5ad88ea3cf742cf03fdeeb95f63865f08374.tar.zst
website-a93b5ad88ea3cf742cf03fdeeb95f63865f08374.zip
build: pass flags to `go run`
-rwxr-xr-xjustfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index e1b7f4c..35869e7 100755
--- a/justfile
+++ b/justfile
@@ -23,9 +23,9 @@ update-all:
 	nix flake update
 	go get -u all
 
-build:
+build *BUILD_FLAGS:
 	templ generate
-	go run ./cmd/build
+	go run ./cmd/build {{ BUILD_FLAGS }}
 
 dev:
 	systemfd -s https::{{ listen_address }}:{{ tls_port }} -s http::{{ listen_address }}:{{ port }} -- modd