mirror of
https://github.com/pgsty/minio.git
synced 2026-07-22 05:30:24 +03:00
Add deadcode code which recursivley goes into all directories and verifies dangling variables.
This commit is contained in:
@@ -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