github.com/devops-filetransfer/sshego@v7.0.4+incompatible/Makefile (about) 1 .phony: all version 2 3 all: version 4 go install github.com/glycerine/sshego 5 go install github.com/glycerine/sshego/cmd/gosshtun 6 7 testbuild: 8 go test -c -gcflags "-N -l" -v 9 10 version: 11 /bin/echo "package sshego" > gitcommit.go 12 /bin/echo "func init() { LAST_GIT_COMMIT_HASH = \"$(shell git rev-parse HEAD)\"; NEAREST_GIT_TAG= \"$(shell git describe --abbrev=0 --tags)\"; GIT_BRANCH=\"$(shell git rev-parse --abbrev-ref HEAD)\"; GO_VERSION=\"$(shell go version)\";}" >> gitcommit.go