From 2fd9f18cf2be85f07201fc492288bc2f472c611a Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sat, 24 Sep 2011 21:38:35 +0300 Subject: [PATCH] Faster scaffold.sh cabal configure runs much faster than cabal install. --- yesod/test/scaffold.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/yesod/test/scaffold.sh b/yesod/test/scaffold.sh index 303fc363..8ea71803 100755 --- a/yesod/test/scaffold.sh +++ b/yesod/test/scaffold.sh @@ -4,7 +4,12 @@ runghc main.hs init ( cd foobar - cabal install - cabal install -fdevel - cabal install -fproduction + cabal configure || cabal install + cabal build + cabal clean + cabal configure -fdevel + cabal build + cabal clean + cabal configure -fproduction + cabal build )