Skip to content

Commit

Permalink
Update test runner for new spago version
Browse files Browse the repository at this point in the history
  • Loading branch information
andyarvanitis committed Dec 3, 2019
1 parent 619f189 commit fead9a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Tests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runTests = do

callProcess "rm" ["-rf", "output"]
callProcess "rm" ["-rf", "Main"]
callProcess "spago" ["build", "--", "--codegen", "corefn"]
callProcess "spago" ["build"]
callProcess "psgo" []
--
-- Run C++ files
Expand Down Expand Up @@ -114,6 +114,7 @@ fetchPackages :: IO ()
-------------------------------------------------------------------------------
fetchPackages = do
callProcess "spago" ["init"]
callCommand "add_psgo_to_spago_config"
mapM (callProcess "spago" . (\p -> ["install", p])) packages
return ()

Expand Down

0 comments on commit fead9a4

Please sign in to comment.