about summary refs log tree commit diff
path: root/build-scripts/build-cabal
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2019-12-02 18:03:13 +0300
committerAzat Bahawi <azahi@teknik.io>2019-12-02 18:03:13 +0300
commit29a3bfae91ff4843a9ea2cab5b8cd18393fbdbf4 (patch)
treecc977d45768cd4403b89182bbe26303037a55d41 /build-scripts/build-cabal
parentfix build script error and update stack (diff)
Refactor scripts
Diffstat (limited to 'build-scripts/build-cabal')
-rwxr-xr-xbuild-scripts/build-cabal18
1 files changed, 0 insertions, 18 deletions
diff --git a/build-scripts/build-cabal b/build-scripts/build-cabal
deleted file mode 100755
index aa11764..0000000
--- a/build-scripts/build-cabal
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh -eu
-
-SRC_DIR="$HOME/.xmonad"
-EXE_NAME="xmonad-ng"
-OUT="$1"
-
-shift
-
-cd "$SRC_DIR" || exit 1
-
-cabal new-configure \
-	--enable-optimization \
-	--enable-executable-stripping
-
-cabal new-build
-
-find "$SRC_DIR"/dist-newstyle -type f -executable -name "$EXE_NAME" \
-    -exec mv -u '{}' "$OUT" ';'

Consider giving Nix/NixOS a try! <3