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_DATE=`date +%Y-%m-%d\ %H:%M`
BUILD_FILE=core/build.go BUILD_FILE=core/build.go
all: build all: fmt vet lint build
@echo "@ Done" @echo "@ Done"
@echo -n "\n" @echo -n "\n"
@ -24,6 +24,18 @@ resources:
@echo "@ Compiling resources into go files ..." @echo "@ Compiling resources into go files ..."
@go-bindata -o net/oui_compiled.go -pkg net net/oui.dat @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: deps:
@echo "@ Installing dependencies ..." @echo "@ Installing dependencies ..."
@go get -u github.com/jteeuwen/go-bindata/... @go get -u github.com/jteeuwen/go-bindata/...