From 12b03f34bb36a2deeaa627924b7af6f9e1e70d34 Mon Sep 17 00:00:00 2001 From: Ice3man543 Date: Sun, 28 Mar 2021 22:43:46 +0530 Subject: [PATCH] Misc --- v2/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 v2/Makefile 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