[XMonad] Add build script to build with stack

This commit is contained in:
Ivan Malison 2016-11-30 17:51:24 -06:00
parent 68425bac2b
commit 03eaa28f8d
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

9
dotfiles/xmonad/build Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
BIN=$1
[[ -n $BIN ]] || BIN=xmonad
stack install --local-bin-path $PWD
date >> $PWD/last_built
[[ -f $BIN ]] || ln -s xmonad $BIN