From b7f25ba2205c4eeaff4c81b0cb896103a28d7b93 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 17 Aug 2017 15:02:52 -0700 Subject: [PATCH] [XMonad] Add build script --- 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..542162ab --- /dev/null +++ b/dotfiles/xmonad/build @@ -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