-
Notifications
You must be signed in to change notification settings - Fork 1
/
.dkrc
26 lines (19 loc) · 942 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
#!/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):
#dk use: cram # run tests using the "cram" functional test tool
dk use: entr-watch # watch files and re-run tests or other commands
dk use: shell-console # make the "console" command enter a subshell
dk use: shellcheck # support running shellcheck (via docker if not installed)
# Define overrides, new commands, functions, etc. here:
require realpaths basher install bashup/realpaths
require mdsh basher install bashup/mdsh
# SC1090 = dynamic 'source' command
SHELLCHECK_OPTS='-e SC1090'
on test eval 'dk shellcheck /dev/stdin < <(mdsh --compile loco.md)'
on build mdsh --out bin/loco --compile loco.md
on build chmod +x bin/loco