Sfoglia il codice sorgente

Added setup step to update database host for Spock framework

Steven Smith 9 anni fa
parent
commit
c6ab4bda7a
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      frameworks/Haskell/spock/setup.sh

+ 2 - 0
frameworks/Haskell/spock/setup.sh

@@ -2,6 +2,8 @@
 
 fw_depends stack
 
+sed -i 's|PG.connectHost     = "localhost"|PG.connectHost     = "'"${DBHOST}"'"|g' src/Main.hs
+
 ${IROOT}/stack --allow-different-user setup
 ${IROOT}/stack --allow-different-user build