Skip to content

Commit

Permalink
cabalupdate: pin yeganesh, rm yesod stuff, remove binaries too
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Oct 24, 2011
1 parent 28b07de commit 803cc52
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions cabalupdate
Expand Up @@ -20,6 +20,7 @@ EOF


remove_cabal_packages() { remove_cabal_packages() {
rm -r "$HOME/.cabal/packages"/*/* rm -r "$HOME/.cabal/packages"/*/*
rm -r "$HOME/.cabal/bin"/*
rm -r "$HOME/.ghc" rm -r "$HOME/.ghc"
} }


Expand All @@ -31,22 +32,9 @@ reinstall_cabal_packages() {


# other cabal packages # other cabal packages
cabal install -fhighlighting pandoc \ cabal install -fhighlighting pandoc \
libmpd \ yeganesh-2.2.1 \
hlint \ haddock-2.9.2 \
yeganesh \ hlint
haddock

# yesod development
for repo in hamlet persistent wai yesod; do
(
cd ~/Code/haskell/$repo
git pull
./install-all.sh
)
done

# fix/get yesod-dependant packages
fixyesod
} }


[[ "$1" =~ -h|--help ]] && message [[ "$1" =~ -h|--help ]] && message
Expand Down

0 comments on commit 803cc52

Please sign in to comment.