mirror of
https://github.com/hexolan/stocklet.git
synced 2026-12-01 03:09:10 +00:00
c8959e7ee0
Signed-off-by: Declan Teevan <dt@hexolan.com>
16 lines
475 B
Makefile
16 lines
475 B
Makefile
install-tools:
|
|
go install github.com/bufbuild/buf/cmd/buf@v1.27.2
|
|
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@v4.17.0
|
|
# linting (todo: os-agnostic installation)
|
|
curl -sSfL https://golangci-lint.run/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.15.0
|
|
|
|
generate-protobufs:
|
|
buf generate
|
|
|
|
format:
|
|
buf format -w
|
|
gofmt -w -s .
|
|
|
|
deploy-docker:
|
|
docker compose -f deploy/docker/compose.yaml -f deploy/docker/compose.override.yaml up --build
|