refactor justfile to use non-deprecated env function
1 file changed, 4 insertions(+), 4 deletions(-)
changed files
M justfile → justfile
@@ -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