summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-10-12 23:42:22 -0400
committerBen Sima <ben@bsima.me>2020-10-12 23:42:22 -0400
commit170ca39ccee2826f7623858ad4426071fd3a0d61 (patch)
treeed46680a3810448c0945c48d432429f8f8d4a5b9 /nix
parentd58f671d8846bd8f5b6507fb7b614a1150fbfe4a (diff)
pie prototype
Diffstat (limited to 'nix')
-rw-r--r--nix/haskell-deps.nix4
-rw-r--r--nix/shellHook.sh6
2 files changed, 10 insertions, 0 deletions
diff --git a/nix/haskell-deps.nix b/nix/haskell-deps.nix
index 1f09b4a..dccbd81 100644
--- a/nix/haskell-deps.nix
+++ b/nix/haskell-deps.nix
@@ -15,6 +15,7 @@
"fast-logger"
"filepath"
"ghcjs-base"
+ "haskeline"
"http-types"
"ixset"
"katip"
@@ -24,6 +25,8 @@
"monad-metrics"
"mtl"
"network-uri"
+ "optparse-simple"
+ "parsec"
"process"
"protolude"
"quickcheck-instances"
@@ -42,6 +45,7 @@
"string-quote"
"tasty"
"text"
+ "time"
"transformers"
"unagi-chan"
"unix"
diff --git a/nix/shellHook.sh b/nix/shellHook.sh
index d1cfaf1..8c8cecc 100644
--- a/nix/shellHook.sh
+++ b/nix/shellHook.sh
@@ -8,6 +8,7 @@ function help() {
echo " help show this message"
echo " hero compile and start a dev server for herocomics.app"
echo " lint auto-lint all changed files"
+ echo " pie product improvement engine"
echo " push send a namespace to the cloud"
echo " ship lint, bild, and push one (or all) namespace(s)"
}
@@ -47,6 +48,11 @@ function lint() {
alias lint=$BIZ_ROOT/Biz/lint.py
}
+
+function pie() {
+ runghc Biz.Pie $@
+}
+
# TODO: convert to haskell
function push() {
prefix=$(echo $PWD | sed -e "s|^$BIZ_ROOT/*||g" -e "s|/|.|g")