DB=sslmode=disable dbname=lastfm all: kill build start build: go build . kill: -kill $$(cat pid) -rm -f pid start: ./lastfm & echo $$! > pid watch: watchman-make -p '*.go' 'templates/*.tmpl' -t all up: goose -dir migrations postgres "$(DB)" up down: goose -dir migrations postgres "$(DB)" down status: goose -dir migrations postgres "$(DB)" status