@@ -29,22 +29,22 @@ import Control.Monad
30-- Assumptions
30-- Assumptions
31-- Elm.cabal expects the generated files to end up in dist/data
31-- Elm.cabal expects the generated files to end up in dist/data
32−rtsDir lbi = (buildDir lbi) </> ".." </> "data" -- git won't look in dist + cabal will clean it
32+rtsDir lbi = buildDir lbi </> ".." </> "data" -- git won't look in dist + cabal will clean it
33−jsDir lbi = (buildDir lbi) </> ".." </> "js"
33+jsDir lbi = buildDir lbi </> ".." </> "js"
35-- The runtime is called:
35-- The runtime is called:
36−rts lbi = (rtsDir lbi) </> "elm-runtime.js"
36+rts lbi = rtsDir lbi </> "elm-runtime.js"
38-- The json file is called:
38-- The json file is called:
40-- The elm-docs executable is called:
40-- The elm-docs executable is called:
41elmDoc = "elm-doc"
41elmDoc = "elm-doc"
42−elm_doc lbi = (buildDir lbi) </> elmDoc </> elmDoc
42+elm_doc lbi = buildDir lbi </> elmDoc </> elmDoc
44−types lbi = (rtsDir lbi) </> "docs.json"
44+types lbi = rtsDir lbi </> "docs.json"
46-- buildDir with LocalBuildInfo points to "dist/build" (usually)
46-- buildDir with LocalBuildInfo points to "dist/build" (usually)
47−elm lbi = (buildDir lbi) </> "elm" </> "elm"
47+elm lbi = buildDir lbi </> "elm" </> "elm"
49-- Care! This appears to be based on an unstable API
49-- Care! This appears to be based on an unstable API
50-- See: http://www.haskell.org/cabal/release/cabal-latest/doc/API/Cabal/Distribution-Simple.html#2
50-- See: http://www.haskell.org/cabal/release/cabal-latest/doc/API/Cabal/Distribution-Simple.html#2