about summary refs log tree commit diff
path: root/build
diff options
context:
space:
mode:
authorazahi <azahi@teknik.io>2019-09-29 14:28:37 +0300
committerazahi <azahi@teknik.io>2019-09-29 14:28:37 +0300
commitd46adbbb0b8452ea25ba01d2b34d2bdc8a5a3a6d (patch)
treee2a4aeb19d828cf7f3b555855bb697299d63eaa5 /build
parentUpdate xmonad-contrib (diff)
Add build scripts
Diffstat (limited to 'build')
l---------[-rwxr-xr-x]build15
1 files changed, 1 insertions, 14 deletions
diff --git a/build b/build
index 6764e6a..38d2cab 100755..120000
--- a/build
+++ b/build
@@ -1,14 +1 @@
-#!/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" ';'
+build-scripts/build-cabal
\ No newline at end of file

Consider giving Nix/NixOS a try! <3