#!/bin/bash

# Install the latest stackage lts snapshot and run cabal clean/update

set -e

cabal clean -v
cabal sandbox delete -v || echo "IGNORING"
rm -f cabal.config
wget http://www.stackage.org/lts/cabal.config
cabal update -v
cabal sandbox -v init 
cabal install -v --only-dependencies -j

#!/bin/bash
#
# Install the latest stackage lts snapshot, run cabal clean/update and
# initialize the cabal sandbox.

set -e

cabal clean -v
cabal sandbox delete -v || echo "IGNORING"
rm -f cabal.config
wget http://www.stackage.org/lts/cabal.config
cabal update -v
cabal sandbox -v init
cabal install -v --only-dependencies -j

Improve shell script code style
Improve shell script code style
