We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8811ce4 commit 6d1486bCopy full SHA for 6d1486b
Makefile
@@ -1,6 +1,7 @@
1
Version := $(shell git describe --tags --dirty --always)
2
GitCommit := $(shell git rev-parse HEAD)
3
LDFLAGS := "-s -w -X awssh/cmd.Version=$(Version) -X awssh/cmd.GitCommit=$(GitCommit)"
4
+SOURCE_DIRS = cmd config internal main.go
5
OUTDIR := bin
6
7
GOLANGCI_VERSION = 1.31.0
@@ -16,7 +17,7 @@ tidy:
16
17
go mod tidy
18
19
pretty:
- gofmt -s -w **/*.go
20
+ gofmt -l -s -w $(SOURCE_DIRS)
21
22
build:
23
CGO_ENABLED=0 go build -ldflags $(LDFLAGS) -o awssh
0 commit comments