ENH update build script

This commit is contained in:
Nathan Dwarshuis 2020-02-08 00:20:44 -05:00
parent 21aecd1ce4
commit aab6340e89
1 changed files with 8 additions and 5 deletions

13
build
View File

@ -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"