Makefile 465 B

12345678910111213141516171819202122
  1. # Copyright 2010 The Go Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style
  3. # license that can be found in the LICENSE file.
  4. all: install
  5. install:
  6. go install ./proto ./jsonpb ./ptypes ./protoc-gen-go
  7. test:
  8. go test ./... ./protoc-gen-go/testdata
  9. go test -tags purego ./... ./protoc-gen-go/testdata
  10. go build ./protoc-gen-go/testdata/grpc/grpc.pb.go
  11. clean:
  12. go clean ./...
  13. nuke:
  14. go clean -i ./...
  15. regenerate:
  16. ./regenerate.sh