mirror of
https://github.com/hexolan/stocklet.git
synced 2026-12-01 03:09:10 +00:00
b39ae13f5b
Cannot pass `-tags` to `go tool` for now, so golang-migrate will remain in Makefile for setup. Switched cmds in `Makefile` to use versioned `go tool` prefix to override any global installation paths. Signed-off-by: Declan Teevan <dt@hexolan.com>
14 lines
346 B
Makefile
14 lines
346 B
Makefile
install-tools:
|
|
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@v4.20.1
|
|
echo "install other deps through go tool"
|
|
|
|
generate-protobufs:
|
|
go tool buf generate
|
|
|
|
format:
|
|
go tool buf format -w
|
|
gofmt -w -s .
|
|
|
|
deploy-docker:
|
|
docker compose -f deploy/docker/compose.yaml -f deploy/docker/compose.override.yaml up --build
|