#!/bin/bash set -euo pipefail IFS=$'\n\t' if [ -n "$(which bundle)" ]; then bundle install fi # Install bower fixtures if [ -n "$(which bower)" ]; then bower install fi cd test/fixtures # Install npm fixtures if [ -n "$(which npm)" ]; then npm install fi # Install stack fixtures if [ -n "$(which stack)" ]; then stack build fi if [ -n "$(which go)" ]; then export GOPATH="`pwd`/go" pushd go/src/test go get || true popd fi if [ -n "$(which cabal)" ]; then pushd haskell cabal new-build popd fi