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/
|
||||
|
||||
# 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
|
||||
APPNAME := docrawler
|
||||
@@ -42,6 +42,9 @@ run: build
|
||||
clean:
|
||||
rm -f ./bin/${APPNAME}
|
||||
|
||||
env:
|
||||
go env
|
||||
|
||||
# vendor
|
||||
# * wipes our vendor directory completely
|
||||
# * fetches all packages in ${PACKAGES}
|
||||
|
||||
Reference in new issue
Block a user