From f4848871e8bde9096491c9fe7f5a0221b5255d86 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Wed, 8 Jan 2025 11:58:35 +0100 Subject: [PATCH] chore(just): remove unnecessary dev-postgres-reset recipe --- justfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/justfile b/justfile index 059915e..f1e20fc 100644 --- a/justfile +++ b/justfile @@ -57,7 +57,7 @@ check-nix: # Run PostgreSQL for development and testing dev-postgres: - mkdir -p "$XDG_RUNTIME_DIR/patagia-postgres" + mkdir -p "${XDG_RUNTIME_DIR}/patagia-postgres" podman volume exists patagia-postgres || podman volume create patagia-postgres podman run \ --detach \ @@ -67,12 +67,9 @@ dev-postgres: --env POSTGRES_USER=patagia \ --env POSTGRES_PASSWORD=swordfish \ --volume patagia-postgres:/var/lib/postgresql/data \ - --volume "$XDG_RUNTIME_DIR/patagia-postgres:/var/run/postgresql" \ + --volume "${XDG_RUNTIME_DIR}/patagia-postgres":/var/run/postgresql" \ docker.io/postgres:17 -# Reset PostgreSQL data and start -dev-postgres-reset: dev-postgres-clean dev-postgres - # Clean up PostgreSQL data dev-postgres-clean: podman rm -f patagia-postgres || true