-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
33 lines (24 loc) · 730 Bytes
/
justfile
File metadata and controls
33 lines (24 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
default: lint build test
# install development dependencies
install-dev-deps:
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.9
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.10
go install github.com/envoyproxy/protoc-gen-validate@v0.6.12
lint:
golangci-lint run
gen:
go generate ./...
gen-api:
go generate ./api/generate.go
gen-wire:
go generate ./internal/app/server/wire_gen.go
gen-front:
go generate ./build/front
build: gen-front
go build -v -o build/bin/ .
test: gen-front
go test ./...
install:
go install .