From aab6340e892b39feabcdb3670b827c4e78499bbd Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sat, 8 Feb 2020 00:20:44 -0500 Subject: [PATCH] ENH update build script --- build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/build b/build index aef5317..be9b6aa 100755 --- a/build +++ b/build @@ -2,8 +2,11 @@ # # As of 0.13, xmonad --recompile will look for a custom build script. -set -e - -stack build :my-xmonad --verbosity error -stack install :my-xmonad --local-bin-path bin/ --verbosity error -mv bin/my-xmonad "$HOME/.local/bin/xmonad" +exec stack ghc -- \ + --make xmonad.hs \ + -i \ + -ilib \ + -fforce-recomp \ + -main-is main \ + -v0 \ + -o "$1"