Files
projectdiscovery-httpx/Makefile
T
2021-03-30 22:17:28 +05:30

15 lines
257 B
Makefile

# 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 "httpx" cmd/httpx/httpx.go
test:
$(GOTEST) -v ./...
tidy:
$(GOMOD) tidy