bin/setup in licensed-0.10.0 vs bin/setup in licensed-0.11.0

- old
+ new

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