2024-01-16 20:44:20 +02:00
|
|
|
run:
|
|
|
|
go run ./cmd/recipes/main.go -config ./config/local.yaml
|
2024-01-18 18:48:27 +02:00
|
|
|
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
|
2024-01-21 14:48:47 +02:00
|
|
|
run_parser:
|
2024-01-21 16:10:21 +02:00
|
|
|
go run ./cmd/parser/main.go -config ./config/local.yaml
|
|
|
|
lint:
|
|
|
|
golangci-lint run
|
2024-01-28 10:37:18 +02:00
|
|
|
generate:
|
|
|
|
go generate ./...
|
|
|
|
test:
|
|
|
|
go test ./internal/...
|
2024-01-31 09:29:30 +02:00
|
|
|
docker_build:
|
2024-01-31 09:46:07 +02:00
|
|
|
docker build -t registry.computernetthings.ru/recipes/app . && docker image prune -f
|
2024-01-31 09:29:30 +02:00
|
|
|
docker_push:
|
2024-01-31 09:46:07 +02:00
|
|
|
docker push registry.computernetthings.ru/recipes/app
|