From 03eaa28f8d82caa50a7ee75908c936ed9072938a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 30 Nov 2016 17:51:24 -0600 Subject: [PATCH] [XMonad] Add build script to build with stack --- dotfiles/xmonad/build | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 dotfiles/xmonad/build diff --git a/dotfiles/xmonad/build b/dotfiles/xmonad/build new file mode 100755 index 00000000..267616b4 --- /dev/null +++ b/dotfiles/xmonad/build @@ -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