all repos — homestead @ 875487fc367205a509e997391c44f76485bf455f

Code for my website

reformat justfile

Alan Pearce
commit

875487fc367205a509e997391c44f76485bf455f

parent

6850a1922a0f2d3e37d99f2f1f9ca1ab13986ad9

1 file changed, 12 insertions(+), 12 deletions(-)

changed files
M justfilejustfile
@@ -8,37 +8,37 @@ port := env_var_or_default("SERVER_PORT", "8080")
website_repo := env_var_or_default("SOURCE", "../website") default: - @just --list --justfile {{ justfile() }} --unsorted + @just --list --justfile {{ justfile() }} --unsorted clean: - rm -fr public + rm -fr public check-licenses: - go-licenses check ./... + go-licenses check ./... check-links: (build-site "--compress=false") - hyperlink public --sources {{ website_repo }} + hyperlink public --sources {{ website_repo }} update-all: - nix flake update - go get -u all - gomod2nix + nix flake update + go get -u all + gomod2nix build: - go build ./domain/content/builder/build + go build ./domain/content/builder/build build-site *BUILD_FLAGS: build - SOURCE={{ website_repo }} ./build {{ BUILD_FLAGS }} + SOURCE={{ website_repo }} ./build {{ BUILD_FLAGS }} run: dev dev: - systemfd -s http::{{ listen_address }}:{{ port }} -- modd + systemfd -s http::{{ listen_address }}:{{ port }} -- modd ci: check-links cd *DEPLOY_FLAGS: && (deploy DEPLOY_FLAGS) - fly auth docker + fly auth docker deploy *DEPLOY_FLAGS: - fly deploy --image $(KO_DOCKER_REPO={{ docker_registry }} ko build --platform linux/amd64 --sbom none --bare --tags {{ docker-tag }} .) {{ DEPLOY_FLAGS }} + fly deploy --image $(KO_DOCKER_REPO={{ docker_registry }} ko build --platform linux/amd64 --sbom none --bare --tags {{ docker-tag }} .) {{ DEPLOY_FLAGS }}