mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 17:35:28 +00:00
fix Makefile indentation for commands to work
This commit is contained in:
parent
744c739aa1
commit
14ecfedf24
22
v2/Makefile
22
v2/Makefile
@ -7,16 +7,16 @@ GOGET=$(GOCMD) get
|
|||||||
|
|
||||||
all: build
|
all: build
|
||||||
build:
|
build:
|
||||||
$(GOBUILD) -v -ldflags="-extldflags=-static" -o "nuclei" cmd/nuclei/main.go
|
$(GOBUILD) -v -ldflags="-extldflags=-static" -o "nuclei" cmd/nuclei/main.go
|
||||||
docs:
|
docs:
|
||||||
if ! which dstdocgen > /dev/null; then
|
if ! which dstdocgen > /dev/null; then
|
||||||
echo -e "Command not found! Install? (y/n) \c"
|
echo -e "Command not found! Install? (y/n) \c"
|
||||||
go get -v github.com/projectdiscovery/yamldoc-go/cmd/docgen/dstdocgen
|
go get -v github.com/projectdiscovery/yamldoc-go/cmd/docgen/dstdocgen
|
||||||
fi
|
fi
|
||||||
$(GOCMD) generate pkg/templates/templates.go
|
$(GOCMD) generate pkg/templates/templates.go
|
||||||
$(GOBUILD) -o "cmd/docgen/docgen" cmd/docgen/docgen.go
|
$(GOBUILD) -o "cmd/docgen/docgen" cmd/docgen/docgen.go
|
||||||
./cmd/docgen/docgen docs.md nuclei-jsonschema.json
|
./cmd/docgen/docgen docs.md nuclei-jsonschema.json
|
||||||
test:
|
test:
|
||||||
$(GOTEST) -v ./...
|
$(GOTEST) -v ./...
|
||||||
tidy:
|
tidy:
|
||||||
$(GOMOD) tidy
|
$(GOMOD) tidy
|
||||||
Loading…
x
Reference in New Issue
Block a user