on master help sign in
Fix Elm.cabal missing elm-runtime.js (follow-up)

Cut+paste error Obviously, we want the js and the elm files, not the elm files twice.

commit628f622f43aa4d32d80eef5f4cb851e5c2514337 authorngunn <ngunn@computationalthinking.org.uk> dateThu 14 Mar 2013, 16:28 (14 years ago) parentef4d1db
1 file changed+1−1
compiler/Setup.hs+1−1
compiler/Setup.hs+1−1
@@ -59,7 +59,7 @@ buildRuntime lbi = do
5959 createDirectoryIfMissing False rtsDir -- dist should already exist
6060 writeFile rts "Elm = {}; Elm.Native = {}; Elm.Native.Graphics = {};\n\
6161 \Elm.Graphics = {}; ElmRuntime = {}; ElmRuntime.Render = {}\n"
62− mapM_ (appendElm lbi) =<< getFiles ".elm" "../libraries"
62+ mapM_ appendJS =<< getFiles ".js" "../libraries"
6363 mapM_ (appendElm lbi) =<< getFiles ".elm" "../libraries"
6464 mapM_ appendJS =<< getFiles ".js" "../runtime"
6565 putStrLn "\n+------------------------------------------+\