1
0
mirror of https://github.com/IHaskell/IHaskell.git synced 2025-04-23 09:26:05 +00:00
2014-01-11 22:33:42 -07:00

37 lines
586 B
Bash
Executable File

#!/bin/bash
set -e
# Recompile ipython-kernel
cd ipython-kernel
cabal clean
cabal install --force-reinstalls
cd ..
# Make the profile
cd profile
rm -f profile.tar
tar -cvf profile.tar *
cd ..
# Make ihaskell itself
cabal clean
cabal install --force-reinstalls
# Remove my profile
rm -rf ~/.ipython/profile_haskell
if [ $# -gt 0 ]; then
if [ $1 = "all" ]; then
# Install all the display libraries
cd ihaskell-display
for dir in `ls`
do
cd $dir
cabal clean
cabal install
cd ..
done
fi
fi