Skip to content

Commit 7388d1d

Browse files
committed
Misc. cleanups
1 parent 93c594c commit 7388d1d

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.dkrc

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ import: cram
55
import: entr-watch
66
import: shell-console
77

8-
# Auto-build dk and re-exec it if needed
9-
if [[ ! -x dk || dk.md -nt dk ]]; then
8+
dk.rebuild() {
109
require-any bashpackr basher install bashup/bashpackr
1110
bashpackr --pack dk.md dk
11+
}
12+
13+
# Auto-build dk and re-exec it if needed
14+
if [[ ! -x dk || dk.md -nt dk ]]; then
15+
dk.rebuild; touch dk
1216
exec "./dk" "${LOCO_ARGS[@]}"
1317
fi

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
.deps
2+
specs/*.cram.md.err

script/bootstrap

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ if ! [[ -f .dkrc ]]; then
66
fi
77

88
if ! [[ -d .devkit ]]; then
9+
# Modify this line if you want to pin a particular .devkit revision:
910
git clone -q --depth 1 https://github.com/bashup/.devkit
1011
fi
1112

0 commit comments

Comments
 (0)