VOL-1577 - General cleanup (gofmt, go vet, go test, dep check)
Change-Id: I536b2746b8bd266f3e75aeccc65bfe7468f1b44a
diff --git a/Makefile b/Makefile
index a89e3e0..be79cbd 100644
--- a/Makefile
+++ b/Makefile
@@ -74,6 +74,7 @@
@echo "simulated_onu : Build the simulated_onu docker container"
@echo "lint-style : Verify code is properly gofmt-ed"
@echo "lint-sanity : Verify that 'go vet' doesn't report any issues"
+ @echo "lint-dep : Verify the integrity of the `dep` files"
@echo "lint : Shorthand for lint-style & lint-sanity"
@echo "test : Generate reports for all go tests"
@echo
@@ -135,7 +136,10 @@
lint-sanity:
go vet ./...
-lint: lint-style lint-sanity
+lint-dep:
+ dep check
+
+lint: lint-style lint-sanity lint-dep
test:
hash go-junit-report > /dev/null 2>&1; if [ $$? -ne 0 ]; then \