on master help sign in
Fix some style weirdness in Setup.hs
e63b12dEvan Czaplicki
Setup.hs+6−6
@@ -29,22 +29,22 @@ import Control.Monad
29
29
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"
34
34
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"
37
37
38-- The json file is called:
38-- The json file is called:
39
39
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
43
43
44−types lbi = (rtsDir lbi) </> "docs.json"
44+types lbi = rtsDir lbi </> "docs.json"
45
45
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"
48
48
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