mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Add deadcode code which recursivley goes into all directories and verifies dangling variables.
This commit is contained in:
5
Makefile
5
Makefile
@@ -13,7 +13,10 @@ checkgopath:
|
||||
getdeps: checkdeps checkgopath
|
||||
@go get github.com/tools/godep && echo "Installed godep"
|
||||
|
||||
build-all: getdeps
|
||||
deadcode: getdeps
|
||||
@go run buildscripts/deadcode.go .
|
||||
|
||||
build-all: getdeps deadcode
|
||||
@echo "Building Libraries"
|
||||
@godep go generate ./...
|
||||
@godep go build ./...
|
||||
|
||||
Reference in New Issue
Block a user