15 lines
366 B
Makefile
15 lines
366 B
Makefile
build:
|
|
protoc -I=proto --go_out=. proto/*.proto
|
|
go build -o bin/ios-wrapper ./cmd/ios-wrapper
|
|
go build -o bin/extract-section ./cmd/extract-section
|
|
|
|
build-linux:
|
|
protoc -I=proto --go_out=. proto/*.proto
|
|
GOOS=linux GOARCH=amd64 go build -o bin/ios-wrapper ./cmd/ios-wrapper
|
|
|
|
module:
|
|
go get -u google.golang.org/protobuf/cmd/protoc-gen-go
|
|
|
|
format:
|
|
go fmt ./...
|