mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 16:21:38 +01:00
21 lines
587 B
Diff
21 lines
587 B
Diff
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -29,7 +29,7 @@
|
|
CGO_ENABLED=0 $(GOBUILD) -trimpath $(GOFLAGS) -ldflags '${LDFLAGS}' $(GOBUILD_ADDITIONAL_ARGS) \
|
|
-o '${GOBUILD_OUTPUT}' $(GOBUILD_PACKAGES)
|
|
|
|
-build: GOFLAGS = -v -pgo=auto
|
|
+build: GOFLAGS += -v -pgo=auto
|
|
build: GOBUILD_OUTPUT = ./bin/nuclei
|
|
build: GOBUILD_PACKAGES = cmd/nuclei/main.go
|
|
build: go-build
|
|
@@ -75,7 +75,7 @@
|
|
syntax-docs:
|
|
./bin/docgen SYNTAX-REFERENCE.md nuclei-jsonschema.json
|
|
|
|
-test: GOFLAGS = -race -v -timeout 30m -count 1
|
|
+test: GOFLAGS += -race -v -timeout 30m -count 1
|
|
test:
|
|
$(GOTEST) $(GOFLAGS) ./...
|
|
|