mirror of
https://example.com
synced 2024-11-22 08:16:40 +09:00
dev: remove revert test from Make recipe
This commit is contained in:
parent
99f05f3b09
commit
f8ac643681
1 changed files with 13 additions and 13 deletions
26
Makefile
26
Makefile
|
@ -35,22 +35,22 @@ pre-commit: test format shellcheck update-lockfiles regenerate-entities neko/ind
|
||||||
|
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: test-revert
|
test: # test-revert
|
||||||
|
|
||||||
|
|
||||||
.PHONY: test-revert
|
# .PHONY: test-revert
|
||||||
test-revert: $(T)/test-revert
|
# test-revert: $(T)/test-revert
|
||||||
|
|
||||||
$(T)/test-revert: neko/revert.sql $(MIGRATIONS)
|
# $(T)/test-revert: neko/revert.sql $(MIGRATIONS)
|
||||||
cd dev && \
|
# cd dev && \
|
||||||
podman-compose exec db \
|
# podman-compose exec db \
|
||||||
psql \
|
# psql \
|
||||||
--echo-all \
|
# --echo-all \
|
||||||
--user=$(POSTGRES_USER) \
|
# --user=$(POSTGRES_USER) \
|
||||||
--dbname=$(POSTGRES_DB) \
|
# --dbname=$(POSTGRES_DB) \
|
||||||
--set='ON_ERROR_STOP=1' \
|
# --set='ON_ERROR_STOP=1' \
|
||||||
--command="$$(printf '%s\nROLLBACK;' "$$(cat ../neko/revert.sql | sed '$$ d')")"
|
# --command="$$(printf '%s\nROLLBACK;' "$$(cat ../neko/revert.sql | sed '$$ d')")"
|
||||||
touch $@
|
# touch $@
|
||||||
|
|
||||||
|
|
||||||
.PHONY: update-lockfiles
|
.PHONY: update-lockfiles
|
||||||
|
|
Loading…
Reference in a new issue