blob: 4ab192067953a4f1b2239c0ca3273ebf490303df (
plain)
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
32
|
#!/usr/bin/env bash
##
function help() {
echo ""
echo "bizdev" | figlet | lolcat
echo ""
echo " bild compile code"
echo " repl start a repl"
echo " ci run all builds and tests"
echo " deps manage dependencies with niv"
echo " help show this message"
echo " lint auto-lint all changed files"
echo " push send a namespace to the cloud"
echo " ship lint, bild, and push one (or all) namespace(s)"
}
#
alias runghc="runghc --ghc-arg=-i\$BIZ_ROOT"
alias guile="guile -L \$BIZ_ROOT"
alias tree="tree -I _ -F"
# configure git hooks
git config --local core.hooksPath "$BIZ_ROOT/Biz/Ide/hooks"
#
function deps() {
niv --sources-file "$BIZ_ROOT/Biz/Bild/Sources.json" "$@"
}
#
# Poor man's ci
alias ci="$BIZ_ROOT/Biz/Ide/hooks/pre-push"
#
#
help
##
|