Makefile 491 B

1234567891011121314151617181920212223
  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. make -C conformance test
  12. clean:
  13. go clean ./...
  14. nuke:
  15. go clean -i ./...
  16. regenerate:
  17. ./regenerate.sh