mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
makefile update
This commit is contained in:
parent
9fc31b0b2c
commit
78c393a195
1 changed files with 13 additions and 1 deletions
14
Makefile
14
Makefile
|
@ -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/...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue