on master help sign in
Add absolute path to elm compiler in LibTests
3212bc8Alex Neslusan
tests/hs/LibTest.hs+1−1
@@ -14,7 +14,7 @@ main = do
14 runCmd "git submodule init"
14 runCmd "git submodule init"
15 runCmd "npm install jsdom"
15 runCmd "npm install jsdom"
16 setCurrentDirectory $ top</>"tests"</>"elm"
16 setCurrentDirectory $ top</>"tests"</>"elm"
17− runCmd $ concat ["elm --make --only-js --src-dir=" , top</>"automaton", " --src-dir=", top</>"IO", " --src-dir=", top</>"Elm-Test", " Test.elm"]
17+ runCmd $ concat [top</>"dist"</>"build"</>"elm"</>"elm --make --only-js --src-dir=" , top</>"automaton", " --src-dir=", top</>"IO", " --src-dir=", top</>"Elm-Test", " Test.elm"]
18 runCmd $ unwords ["cat ", ioScript "prescript.js", Elm.runtime, "build"</>"Test.js", ioScript "handler.js", "> exe.js"]
18 runCmd $ unwords ["cat ", ioScript "prescript.js", Elm.runtime, "build"</>"Test.js", ioScript "handler.js", "> exe.js"]
19 exitWith =<< waitForProcess =<< (runCommand "node exe.js")
19 exitWith =<< waitForProcess =<< (runCommand "node exe.js")
20 where runCmd cmd = do
20 where runCmd cmd = do