Compare commits

..

No commits in common. "8cf969c9068cc1cb6607f1f91013c330c04d1e60" and "0a2c62264545a37d608799dfa53d970091ace3c7" have entirely different histories.

3 changed files with 6 additions and 22 deletions

1
.gitignore vendored
View File

@ -28,4 +28,3 @@ go.work
.envrc
*_test.go
gobs-cli.1

View File

@ -1,17 +0,0 @@
version: '3'
tasks:
default:
desc: View man page
cmds:
- task: view
view:
desc: View man page
cmds:
- go run . --man | man -l -
generate:
desc: Generate man page
cmds:
- go run . --man > {{.PROGRAM}}.1

View File

@ -1,8 +1,5 @@
version: '3'
includes:
man: Taskfile.man.yaml
vars:
PROGRAM: gobs-cli
SHELL: '{{if eq .OS "Windows_NT"}}powershell{{end}}'
@ -53,3 +50,8 @@ tasks:
desc: Clean the build artifacts
cmds:
- '{{.SHELL}} rm -r {{.BIN_DIR}}'
manfile:
desc: Generate manfile
cmds:
- go run . --man > manfile