makefile update

This commit is contained in:
evilsocket 2018-01-08 08:22:42 +01:00
commit 78c393a195

View file

@ -2,7 +2,7 @@ TARGET=bettercap-ng
BUILD_DATE=`date +%Y-%m-%d\ %H:%M`
BUILD_FILE=core/build.go
all: build
all: fmt vet lint build
@echo "@ Done"
@echo -n "\n"
@ -24,6 +24,18 @@ resources:
@echo "@ Compiling resources into go files ..."
@go-bindata -o net/oui_compiled.go -pkg net net/oui.dat
vet:
@echo "@ Running VET ..."
@go vet .
fmt:
@echo "@ Formatting ..."
@go fmt ./...
lint:
@echo "@ Running LINT ..."
@golint .
deps:
@echo "@ Installing dependencies ..."
@go get -u github.com/jteeuwen/go-bindata/...