-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dkrc
31 lines (22 loc) · 1.1 KB
/
.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: bash-kit # enable `with-bash` command to use different bash versions
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:
watch+ "*.md" "src/*" "!.deps/**" "!**/*.md.err" "!**/.~*.md" -- dk test
before "test" mdsh --out "$BASHER_INSTALL_BIN"/c3-mro --compile c3-mro.md
on build mdsh --out bin/c3-mro --compile c3-mro.md
on build chmod +x bin/c3-mro
export CRAM="--indent=2 --shell=bash --verbose"
cram.files() { ls c3-mro.md README.md; }