-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ok
28 lines (28 loc) · 1.05 KB
/
.ok
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
let ok = ~/.config/OKHS/util
in [ ok.section
"Building"
[ ok.cmd "ghcid" "Run the lib in ghcid"
, (~/.config/OKHS/Haskell).ghcid "OKHS" "OKHS-exe"
, ok.cmd
"stack install;"
"Install the binary so the ok-abbreviation will find it"
, ok.cmd "make README.md"
"Build the readme. This needs to be done before a push"
]
⫽ ok.docs
''
For some reason I can't figure
out how to get ghcid to watch both
the library and the exe at the same time...
''
, ok.section "github"
[ok.cmd "make README.md && git add README.md && git push"
"Update readme & push to github"
]
, ok.section "Tests"
[ok.cmd "echo $1 $2" "Echo out two things"
// ok.argDocs (toMap {`1`="The first Thing"
,`2`="The second, less important thing"})
]
]
: List ~/.config/OKHS/OKSection.type