Add gopath Makefile target
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,5 +1,5 @@
|
|||||||
SHELL = /bin/bash
|
SHELL = /bin/bash
|
||||||
.PHONY: all version deps run race build clean test format docs
|
.PHONY: all version gopath deps run race build clean test format docs
|
||||||
.SILENT: clean
|
.SILENT: clean
|
||||||
|
|
||||||
VERSION := $(shell git describe --match '[0-9]*\.[0-9]*\.[0-9]*' --tags --dirty --always)
|
VERSION := $(shell git describe --match '[0-9]*\.[0-9]*\.[0-9]*' --tags --dirty --always)
|
||||||
@@ -11,6 +11,9 @@ all: docs
|
|||||||
version:
|
version:
|
||||||
@echo $(VERSION)
|
@echo $(VERSION)
|
||||||
|
|
||||||
|
gopath:
|
||||||
|
./misc/make-gopath.sh
|
||||||
|
|
||||||
deps:
|
deps:
|
||||||
./misc/make-deps.sh
|
./misc/make-deps.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user