-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dkrc
31 lines (21 loc) · 983 Bytes
/
.dkrc
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
#!/usr/bin/env bash
# ---
# Add your own commands, functions, and variables here. Define defaults first,
# then `dk use:` the desired devkit modules, and then define any overrides to
# the devkit defaults.
# ---
# Available modules (uncomment to use):
# -- Shell/Generic Modules --
dk use: cram # run tests using the "cram" functional test tool
dk use: shell-console # make the "console" command enter a subshell
# -- Watch Modules --
dk use: modd-watch # watch multiple patterns and run different commands on them
# -- Language-Specific Modules --
dk use: shellcheck # support running shellcheck (via docker if not installed)
# Define overrides, new commands, functions, etc. here:
on "boot" require-any jq
watch+ "*.md" "specs/*" "!**/*.md.err" "!**/.~*.md" -- dk test
before "test" mdsh --out "$BASHER_INSTALL_BIN"/fik --compile fik.md
on build mdsh --out bin/fik --compile fik.md
on build chmod +x bin/fik
cram.files() { ls README.md; }