Skip to content

Commit

Permalink
Let xmonad executable be installed to project root
Browse files Browse the repository at this point in the history
  • Loading branch information
qst0528 committed Nov 16, 2021
1 parent 5fc43db commit e052902
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ set -eu
cd $HOME/.xmonad

cabal build --verbose=2
cabal install --installdir=bin --verbose=0
mv bin/my-xmonad "$1"
cabal install --installdir=. --verbose=0
mv xmonad "$1"
2 changes: 1 addition & 1 deletion my-xmonad.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ maintainer: [email protected]
category: System
extra-source-files: CHANGELOG.md

executable my-xmonad
executable xmonad
main-is: Main.hs

-- Modules included in this executable, other than Main.
Expand Down

0 comments on commit e052902

Please sign in to comment.