diff --git a/v2/Makefile b/v2/Makefile new file mode 100644 index 000000000..247e7de43 --- /dev/null +++ b/v2/Makefile @@ -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 \ No newline at end of file