File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1- .PHONY : all clean pull get build build-in-container image test test-in-container install install-local
1+ .PHONY : all clean pull get build build-in-container image test test-in-container install install-local gh-release install-manpages build-manpages install-mango-doc
22
33GOLANG := golang:1.19
44GOOS := darwin
55
6+ VERSION ?= 1.7.0
7+
68all : clean pull test build
79
810clean :
@@ -38,3 +40,12 @@ image: build
3840# gh-release creates a new release in github and uploads the built binary.
3941gh-release :
4042 gh release create ${VERSION} ' bin/septa.zip'
43+
44+ install-mango-doc :
45+ go install github.com/dherbst/mango-doc@latest
46+
47+ build-manpages :
48+ cd cmd/septa && mango-doc -version ${VERSION} > ../../man/septa.1
49+
50+ install-manpages :
51+ sudo cp man/septa.1 /usr/local/share/man/man1/
Original file line number Diff line number Diff line change 11.\" Automatically generated by mango(1)
2- .TH "septa" 1 "2023-12-29" "version 1.8 .0" "User Commands"
2+ .TH "septa" 1 "2023-12-29" "version 1.7 .0" "User Commands"
33.SH "NAME"
44septa \- a command line tool to use the septa API to get information about SEPTA transportation.
55.SH "SYNOPSIS"
You can’t perform that action at this time.
0 commit comments