| 123456789101112131415161718192021222324252627282930313233343536373839 | GOBIN ?= .GO111MODULE=onifneq ($(OS),Windows_NT)EXE =elseEXE = .exeendifPKG = $(shell go env GOOS)_$(shell go env GOARCH)TAGS ?=all: ${GOBIN}/hercules${EXE}test: all	go test gopkg.in/src-d/hercules.v10${GOBIN}/protoc-gen-gogo${EXE}:	go build github.com/gogo/protobuf/protoc-gen-gogoifneq ($(OS),Windows_NT)internal/pb/pb.pb.go: internal/pb/pb.proto ${GOBIN}/protoc-gen-gogo	PATH=${PATH}:${GOBIN} protoc --gogo_out=internal/pb --proto_path=internal/pb internal/pb/pb.protoelseinternal/pb/pb.pb.go: internal/pb/pb.proto ${GOBIN}/protoc-gen-gogo.exe	export PATH="${PATH};${GOBIN}" && \	protoc --gogo_out=internal/pb --proto_path=internal/pb internal/pb/pb.protoendifpython/labours/pb_pb2.py: internal/pb/pb.proto	protoc --python_out python/labours --proto_path=internal/pb internal/pb/pb.protocmd/hercules/plugin_template_source.go: cmd/hercules/plugin.template	cd cmd/hercules && go generatevendor:	go mod vendor${GOBIN}/hercules${EXE}: vendor *.go */*.go */*/*.go */*/*/*.go internal/pb/pb.pb.go python/labours/pb_pb2.py cmd/hercules/plugin_template_source.go	go build -tags "$(TAGS)" -ldflags "-X gopkg.in/src-d/hercules.v10.BinaryGitHash=$(shell git rev-parse HEAD)" gopkg.in/src-d/hercules.v10/cmd/hercules
 |