all repos — homestead @ 6908a81c8de1c45a418640142b8bedb91b80009e

Code for my website

refactor justfile to use non-deprecated env function

Alan Pearce
commit

6908a81c8de1c45a418640142b8bedb91b80009e

parent

84dc6c466678ba6475594044b4c4ab8780d200a2

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

changed files
M justfilejustfile
@@ -2,10 +2,10 @@ #!/usr/bin/env nix
#!nix develop ``.#ci`` --command just --justfile docker_registry := "registry.fly.io/alanpearce-eu" -docker-tag := env_var_or_default("DOCKER_TAG", `date -u +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`) -listen_address := env_var_or_default("SERVER_LISTEN_ADDRESS", "::1") -port := env_var_or_default("SERVER_PORT", "8080") -website_repo := env_var_or_default("SOURCE", "../website") +docker-tag := env("DOCKER_TAG", `date -u +%Y%m%d%H%M%S` + "-" + `git rev-parse --short HEAD`) +listen_address := env("SERVER_LISTEN_ADDRESS", "::1") +port := env("SERVER_PORT", "8080") +website_repo := env("SOURCE", "../website") default: @just --list --justfile {{ justfile() }} --unsorted