compile and use a real binary in CI
1 file changed, 6 insertions(+), 3 deletions(-)
jump to
M justfile → justfile
@@ -16,7 +16,7 @@ check-licenses: go-licenses check ./... -check-links: (build "--compress=false") +check-links: (build-site "--compress=false") hyperlink public --sources {{ website_repo }} update-all:@@ -24,8 +24,11 @@ nix flake update go get -u all gomod2nix -build *BUILD_FLAGS: - SOURCE={{ website_repo }} go run ./cmd/build {{ BUILD_FLAGS }} +build: + go build ./cmd/build + +build-site *BUILD_FLAGS: build + SOURCE={{ website_repo }} ./build {{ BUILD_FLAGS }} run: dev