Browse Source

Use --install-ghc instead of 'stack setup'

Isamu Mogi 9 years ago
parent
commit
91c24a3491
2 changed files with 2 additions and 4 deletions
  1. 1 2
      frameworks/Haskell/spock/setup.sh
  2. 1 2
      frameworks/Haskell/yesod/setup.sh

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

@@ -4,7 +4,6 @@ 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
+${IROOT}/stack --allow-different-user build --install-ghc
 
 ${IROOT}/stack --allow-different-user exec spock-exe -- +RTS -A32m -N${MAX_THREADS} &

+ 1 - 2
frameworks/Haskell/yesod/setup.sh

@@ -4,7 +4,6 @@ fw_depends stack
 
 cd bench
 
-${IROOT}/stack --allow-different-user setup
-${IROOT}/stack --allow-different-user build
+${IROOT}/stack --allow-different-user build --install-ghc
 
 ${IROOT}/stack --allow-different-user exec bench ${MAX_THREADS} ${DBHOST} +RTS -A32m -N${MAX_THREADS} &