Ice3man543 2021-03-28 22:43:46 +05:30
parent 6f491b8c6c
commit 12b03f34bb
1 changed files with 14 additions and 0 deletions

14
v2/Makefile Normal file
View File

@ -0,0 +1,14 @@
# Go parameters
GOCMD=go
GOBUILD=$(GOCMD) build
GOMOD=$(GOCMD) mod
GOTEST=$(GOCMD) test
GOGET=$(GOCMD) get
all: build
build:
$(GOBUILD) -v -ldflags="-extldflags=-static" -o "nuclei" cmd/nuclei/main.go
test:
$(GOTEST) -v ./...
tidy:
$(GOMOD) tidy