We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d91b60 commit a1fe027Copy full SHA for a1fe027
Makefile
@@ -11,7 +11,7 @@ LDFLAGS := $(EXTRA_LDFLAGS)
11
LDFLAGS += -X 'github.com/Soft/mkprompt/internal/constants.Version=$(REF_NAME)'
12
LDFLAGS += -X 'github.com/Soft/mkprompt/internal/constants.DestDir=$(DESTDIR)'
13
14
-.PHONY: all generate build test install archive clean download-assets
+.PHONY: all generate build test lint install archive clean download-assets
15
16
all: build
17
@@ -27,6 +27,9 @@ build: generate
27
test: generate
28
go test -v ./...
29
30
+lint: generate
31
+ go vet ./...
32
+
33
install: build
34
install -m 755 -D -t $(DESTDIR)/bin $(BINARY)
35
install -m 644 -D -t $(DESTDIR)/share/$(BINARY)/shell shell/*
0 commit comments