stud

study spacejunk
Log | Files | Refs | LICENSE

commit e41e1dfed71b0e450b1df538d71a90ceffcad1ec (tree)
parent dd9658249fb32791207ab4473b0d632f73f436cb
Author: Motiejus Jakštys <motiejus@uber.com>
Date:   Sat, 17 Apr 2021 17:05:47 +0300

cleaner clean-tables

Diffstat:
MIV/Makefile | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/IV/Makefile b/IV/Makefile @@ -169,10 +169,8 @@ clean: ## Clean the current working directory .PHONY: clean-tables clean-tables: ## Remove tables created during unit or integration tests - for t in $$(./db -c '\dt' | awk '/\ywm_\w+\y/{print $$3}'); do \ - ./db -c "drop table $$t"; \ - done - -rm .faux_test + ./db -c '\dt' | awk '/\ywm_\w+\y/{print "drop table "$$3";"}' | ./db -f - + -rm .faux_db .PHONY: help help: ## Print this help message