Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Commit 326f0ee

Browse files
committed
Cleanup Makefile
1 parent 0471781 commit 326f0ee

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

Makefile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
.PHONY: build install snapshot dist test vet lint fmt run clean
2-
OUT := ngxcpd
1+
.PHONY: build install snapshot dist test vet lint fmt clean
2+
OUT := dirhttps
33
PKG := github.com/maetthu/dirhttps
4-
VERSION := $(shell git describe --always --dirty --tags)
54
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/)
65
GO_FILES := $(shell find . -name '*.go' | grep -v /vendor/)
76

@@ -14,7 +13,7 @@ install:
1413
CGO_ENABLED=0 GOOS=linux go install -a -v -o ${OUT} ${PKG}
1514

1615
snapshot:
17-
goreleaser --snapshot --rm-dist
16+
goreleaser --snapshot --skip-publish --rm-dist
1817

1918
dist:
2019
goreleaser --rm-dist
@@ -33,12 +32,5 @@ lint:
3332
fmt:
3433
@gofmt -l -w -s ${GO_FILES}
3534

36-
run: build
37-
./${OUT} listen
38-
3935
clean:
4036
-@rm ${OUT}
41-
42-
43-
44-

0 commit comments

Comments
 (0)