diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-13 21:51:56 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-13 21:51:56 -0400 |
| commit | 2e190b1af96b0836684339bfb4353a17cf28f0b9 (patch) | |
| tree | 920a31ea866f78d0e0f3bbfbe2a0d4f7e1f28d56 /Makefile | |
| parent | 665845a7e5050a57e6dee05a3055e2a973e1e108 (diff) | |
| download | lastfm-api-2e190b1af96b0836684339bfb4353a17cf28f0b9.tar.gz | |
Read db configuration from config.json
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -DB=sslmode=disable dbname=lastfm +DB=$(shell cat config.json | jq '.Database') all: kill build start @@ -22,4 +22,4 @@ down: goose -dir migrations postgres "$(DB)" down status: - goose -dir migrations postgres "$(DB)" status + goose -dir migrations postgres $(DB) status |
