-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.dkrc
25 lines (18 loc) · 982 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
#!/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: modd-watch # watch files and re-run tests or other commands
dk use: shell-console # make the "console" command enter a subshell
dk use: bash-kit # enable doing tests/console/etc. in bash3.2 w/docker
dk use: shellcheck # support running shellcheck (via docker if not installed)
# Define overrides, new commands, functions, etc. here:
on cram_files ls README.md
before "test" export PATH="$LOCO_ROOT:$PATH" # put scale-dsl on PATH
on "test" shellcheck scale-dsl
on "boot" require mdsh github bashup/mdsh master bin/mdsh
watch+ "*.md" "specs/*.md" "demos/*" "!.deps/**" "!**/*.md.err" "!**/.~*.md" -- dk test