[XMonad] Install on build

This commit is contained in:
Ivan Malison 2017-08-18 20:45:07 -07:00
parent 0208c9bfad
commit ca937d7986
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -5,5 +5,5 @@ SRC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
EXE_NAME=imalison-xmonad EXE_NAME=imalison-xmonad
output_file=$1; shift output_file=$1; shift
stack build stack install
cp -uf $(stack path --local-install-root)/bin/$EXE_NAME $output_file cp -uf $(stack path --local-install-root)/bin/$EXE_NAME $output_file