-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathop.conf
More file actions
43 lines (32 loc) · 722 Bytes
/
op.conf
File metadata and controls
43 lines (32 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Testing
test:
op approvals
op shellcheck
op shfmt
#? Run all tests
approvals: test/approve
#? Run approval tests
## Linting
shellcheck:
shellcheck op setup
green "PASS: shellcheck"
#? Run approval tests
shfmt:
shfmt -ci -i 2 -d op setup
green "PASS: shfmt"
#? Run shfmt tests
spell:
codespell
green "PASS: codespell"
#? Run spell checker
## Manpage
man-show: op man | man -l
#? Preview the man page using its markdown source
man-save: op man > doc/op.1
#? Convert the markdown man page to man
private
man:
export DATE=$(date "+%B %Y")
export VERSION=$(op --version)
envsubst <doc/op.md |pandoc -f markdown-smart -s --to man
#? Generate man to stdout after substituting template vars