From d46adbbb0b8452ea25ba01d2b34d2bdc8a5a3a6d Mon Sep 17 00:00:00 2001 From: azahi Date: Sun, 29 Sep 2019 14:28:37 +0300 Subject: Add build scripts --- build | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) mode change 100755 => 120000 build (limited to 'build') diff --git a/build b/build deleted file mode 100755 index 6764e6a..0000000 --- a/build +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -SRC_DIR="$HOME/.xmonad" -EXE_NAME="xmonad-ng" -OUT="$1" - -cd "$SRC_DIR" || exit 1 - -cabal new-configure --enable-optimization - -cabal new-build - -find "$SRC_DIR"/dist-newstyle -type f -executable -name "$EXE_NAME" \ - -exec mv -u '{}' "$OUT" ';' diff --git a/build b/build new file mode 120000 index 0000000..38d2cab --- /dev/null +++ b/build @@ -0,0 +1 @@ +build-scripts/build-cabal \ No newline at end of file -- cgit 1.4.1