add "make env" to dump the "go env" from within the make environment
This commit is contained in:
1 parent
aaa5f639cf
commit
747c805a82
1 file changed
+4
-1
@@ -3,7 +3,7 @@
|
|||||||
# derived from: http://zduck.com/2014/go-project-structure-and-dependencies/
|
# derived from: http://zduck.com/2014/go-project-structure-and-dependencies/
|
||||||
|
|
||||||
# build targets (which aren't files)
|
# build targets (which aren't files)
|
||||||
.PHONY: build fmt lint vet test autotest run clean vendor
|
.PHONY: build fmt lint vet test autotest run clean env vendor
|
||||||
|
|
||||||
# configuration
|
# configuration
|
||||||
APPNAME := docrawler
|
APPNAME := docrawler
|
||||||
@@ -42,6 +42,9 @@ run: build
|
|||||||
clean:
|
clean:
|
||||||
rm -f ./bin/${APPNAME}
|
rm -f ./bin/${APPNAME}
|
||||||
|
|
||||||
|
env:
|
||||||
|
go env
|
||||||
|
|
||||||
# vendor
|
# vendor
|
||||||
# * wipes our vendor directory completely
|
# * wipes our vendor directory completely
|
||||||
# * fetches all packages in ${PACKAGES}
|
# * fetches all packages in ${PACKAGES}
|
||||||
|
|||||||
Reference in new issue
Block a user