Skip to content

Commit 2a3f78d

Browse files
authored
Removes obsolete machinery-based limit support (#43)
* Removes obsolete machinery-based limit support * (WIP) Updates dmt and tests w/ `started_at` field * Upgrades damsel, reverts `started_at` field and disables temporary broken test cases * Retires codec modules and moves sole functions into user-modules * Removes comment * Bumps limiter-proto
1 parent 7b27571 commit 2a3f78d

28 files changed

Lines changed: 432 additions & 2821 deletions

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ DOCKER_RUN = $(DOCKER) run -t $(DOCKER_WC_OPTIONS) $(DOCKER_WC_EXTRA_OPTIONS)
4242

4343
DOCKERCOMPOSE_RUN = $(DOCKERCOMPOSE_W_ENV) run --rm $(DOCKER_WC_OPTIONS)
4444

45+
# Database tasks
46+
47+
ifeq (db,$(firstword $(MAKECMDGOALS)))
48+
DATABASE_NAME := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
49+
$(eval $(DATABASE_NAME):;@:)
50+
endif
51+
52+
db:
53+
$(DOCKERCOMPOSE_W_ENV) exec db bash -c "PGPASSWORD=postgres psql -U $(DATABASE_NAME) -d $(DATABASE_NAME)"
54+
4555
# Utility tasks
4656

4757
wc-shell: dev-image

0 commit comments

Comments
 (0)