From 170ca39ccee2826f7623858ad4426071fd3a0d61 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 12 Oct 2020 23:42:22 -0400 Subject: pie prototype --- nix/haskell-deps.nix | 4 ++++ nix/shellHook.sh | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'nix') 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") -- cgit v1.2.3