Sha256: 05e892ec13bd5a144caaa38af0d05fa01af86939ed885d6df01ec7a79929c5b4

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

#!/bin/bash
set -e

if [ -z "$(which cabal)" ]; then
  echo "A local cabal installation is required for cabal development." >&2
  exit 127
fi

cabal --version

# setup test fixtures
BASE_PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd $BASE_PATH/test/fixtures/cabal

if [ "$1" == "-f" ]; then
  find . -not -regex "\.*" -and -not -path "*app*" -print0 | xargs -0 rm -rf
fi

cabal new-build || (cabal update && cabal install)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
licensed-2.5.0 script/source-setup/cabal
licensed-2.4.0 script/source-setup/cabal