[XMonad] Add build script

This commit is contained in:
Ivan Malison 2017-08-17 15:02:52 -07:00
parent 1b85fca559
commit b7f25ba220
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 @@
#!/usr/bin/env bash
SRC_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
EXE_NAME=imalison-xmonad
output_file=$1; shift
stack build
cp -uf $(stack path --local-install-root)/bin/$EXE_NAME $output_file