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 e7f87ef commit f98b739Copy full SHA for f98b739
.goreleaser.yaml
@@ -12,6 +12,7 @@ before:
12
hooks:
13
# You may remove this if you don't use go modules.
14
- go mod tidy
15
+ - make manpage
16
# you may remove this if you don't need go generate
17
# - go generate ./...
18
Makefile
@@ -1,4 +1,8 @@
1
+clean:
2
+ @echo "Removing build files"
3
+ @if [ -d "dist" ]; then rm -rf dist; fi
4
+ @rm -f share/man/*.gz share/man/*.html
5
manpage:
6
@echo "Generating manpage from '/share/man/git-cc.1.md'"
7
@$$(go env GOPATH)/bin/md2roff -date "$(date +%Y-%m-%d)" -manual "git-cc" share/man/git-cc.1.md
- @gzip -9 share/man/git-cc.1
8
+ @gzip -f -9 share/man/git-cc.1
0 commit comments