ENH update build script
This commit is contained in:
parent
21aecd1ce4
commit
aab6340e89
13
build
13
build
|
@ -2,8 +2,11 @@
|
||||||
#
|
#
|
||||||
# As of 0.13, xmonad --recompile will look for a custom build script.
|
# As of 0.13, xmonad --recompile will look for a custom build script.
|
||||||
|
|
||||||
set -e
|
exec stack ghc -- \
|
||||||
|
--make xmonad.hs \
|
||||||
stack build :my-xmonad --verbosity error
|
-i \
|
||||||
stack install :my-xmonad --local-bin-path bin/ --verbosity error
|
-ilib \
|
||||||
mv bin/my-xmonad "$HOME/.local/bin/xmonad"
|
-fforce-recomp \
|
||||||
|
-main-is main \
|
||||||
|
-v0 \
|
||||||
|
-o "$1"
|
||||||
|
|
Loading…
Reference in New Issue