13 lines
450 B
Makefile
13 lines
450 B
Makefile
run:
|
|
go run ./cmd/recipes/main.go -config ./config/local.yaml
|
|
migrate_create:
|
|
migrate create -ext sql -dir ./migrations -seq ${NAME}
|
|
migrate_up:
|
|
CONFIG_PATH=./config/local.yaml go run ./cmd/migrator/main.go --migrations-path ./migrations
|
|
migrate_down:
|
|
CONFIG_PATH=./config/local.yaml go run ./cmd/migrator/main.go --migrations-path ./migrations --down
|
|
run_parser:
|
|
go run ./cmd/parser/main.go -config ./config/local.yaml
|
|
lint:
|
|
golangci-lint run
|