mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 20:55:28 +00:00
Misc
This commit is contained in:
parent
6f491b8c6c
commit
12b03f34bb
14
v2/Makefile
Normal file
14
v2/Makefile
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user