#!/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 ##