From f8ac643681f2cfd341efbbbd8cbe8bb728179c91 Mon Sep 17 00:00:00 2001 From: naskya Date: Wed, 28 Feb 2024 23:54:30 +0900 Subject: [PATCH] dev: remove revert test from Make recipe --- Makefile | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index f90454082..ade950c80 100644 --- a/Makefile +++ b/Makefile @@ -35,22 +35,22 @@ pre-commit: test format shellcheck update-lockfiles regenerate-entities neko/ind .PHONY: test -test: test-revert +test: # test-revert -.PHONY: test-revert -test-revert: $(T)/test-revert +# .PHONY: test-revert +# test-revert: $(T)/test-revert -$(T)/test-revert: neko/revert.sql $(MIGRATIONS) - cd dev && \ - podman-compose exec db \ - psql \ - --echo-all \ - --user=$(POSTGRES_USER) \ - --dbname=$(POSTGRES_DB) \ - --set='ON_ERROR_STOP=1' \ - --command="$$(printf '%s\nROLLBACK;' "$$(cat ../neko/revert.sql | sed '$$ d')")" - touch $@ +# $(T)/test-revert: neko/revert.sql $(MIGRATIONS) +# cd dev && \ +# podman-compose exec db \ +# psql \ +# --echo-all \ +# --user=$(POSTGRES_USER) \ +# --dbname=$(POSTGRES_DB) \ +# --set='ON_ERROR_STOP=1' \ +# --command="$$(printf '%s\nROLLBACK;' "$$(cat ../neko/revert.sql | sed '$$ d')")" +# touch $@ .PHONY: update-lockfiles