Finish moving the compiler down a directory.
This commit is contained in:
parent
1822ebc160
commit
99ae5c6ba0
11 changed files with 5 additions and 5 deletions
|
@ -22,7 +22,7 @@ Build-type: Custom
|
||||||
|
|
||||||
Extra-source-files: changelog.txt
|
Extra-source-files: changelog.txt
|
||||||
Data-dir: dist/data
|
Data-dir: dist/data
|
||||||
Data-files: elm-runtime.js types.json
|
Data-files: elm-runtime.js docs.json
|
||||||
Cabal-version: >=1.8
|
Cabal-version: >=1.8
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
|
@ -32,7 +32,7 @@ source-repository head
|
||||||
Library
|
Library
|
||||||
exposed-modules: Language.Elm,
|
exposed-modules: Language.Elm,
|
||||||
Language.Elm.Quasi
|
Language.Elm.Quasi
|
||||||
Hs-Source-Dirs: src, src/Gen
|
Hs-Source-Dirs: compiler, compiler/Gen, compiler/Model, compiler/Transform
|
||||||
other-modules: Ast,
|
other-modules: Ast,
|
||||||
Context,
|
Context,
|
||||||
CompileToJS,
|
CompileToJS,
|
||||||
|
@ -81,7 +81,7 @@ Library
|
||||||
|
|
||||||
Executable elm
|
Executable elm
|
||||||
Main-is: Compiler.hs
|
Main-is: Compiler.hs
|
||||||
Hs-Source-Dirs: src, src/Gen
|
Hs-Source-Dirs: compiler, compiler/Gen, compiler/Model, compiler/Transform
|
||||||
other-modules: Ast,
|
other-modules: Ast,
|
||||||
Context,
|
Context,
|
||||||
CompileToJS,
|
CompileToJS,
|
||||||
|
@ -128,7 +128,7 @@ Executable elm
|
||||||
|
|
||||||
Executable elm-doc
|
Executable elm-doc
|
||||||
Main-is: Docs.hs
|
Main-is: Docs.hs
|
||||||
Hs-Source-Dirs: src
|
Hs-Source-Dirs: compiler, compiler/Model
|
||||||
other-modules: Ast,
|
other-modules: Ast,
|
||||||
Context,
|
Context,
|
||||||
Parse.Library,
|
Parse.Library,
|
||||||
|
|
2
Setup.hs
2
Setup.hs
|
@ -29,7 +29,7 @@ myPostBuild as bfs pd lbi = do
|
||||||
rtsDir = "dist" </> "data"
|
rtsDir = "dist" </> "data"
|
||||||
|
|
||||||
rts = rtsDir </> "elm-runtime.js"
|
rts = rtsDir </> "elm-runtime.js"
|
||||||
types = rtsDir </> "types.json"
|
types = rtsDir </> "docs.json"
|
||||||
|
|
||||||
-- buildDir with LocalBuildInfo points to "dist/build" (usually)
|
-- buildDir with LocalBuildInfo points to "dist/build" (usually)
|
||||||
elm lbi = (buildDir lbi) </> "elm" </> "elm"
|
elm lbi = (buildDir lbi) </> "elm" </> "elm"
|
||||||
|
|
Loading…
Reference in a new issue