setup.sh 371 B

12345678910111213
  1. #!/bin/bash
  2. fw_depends stack
  3. sed -i 's|PG.connectHost = "localhost"|PG.connectHost = "'"${DBHOST}"'"|g' src/Main.hs
  4. if [ "$TRAVIS" = "true" ]; then
  5. sed -i 's|PoolCfg 50 50 60|PoolCfg 20 25 60|g' src/Main.hs
  6. fi
  7. ${IROOT}/stack --allow-different-user build --install-ghc
  8. ${IROOT}/stack --allow-different-user exec spock-exe -- +RTS -A32m -N${MAX_THREADS} &