httpserve/Makefile

15 lines
238 B
Makefile

build: lint
CGO_ENABLED=0 go build -v -trimpath -ldflags='-s -w'
lint:
golangci-lint run
clean:
rm -f httpserve
install: build
test -d "${HOME}"
install -Dm0755 -t "${HOME}/.local/bin/" httpserve
.PHONY: build clean lint install