17 lines
509 B
Makefile
17 lines
509 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
|
|
generate:
|
|
go generate ./...
|
|
test:
|
|
go test ./internal/...
|