on master help sign in
Finish moving the compiler down a directory.
99ae5c6evancz
Elm.cabal+4−4
@@ -22,7 +22,7 @@ Build-type: Custom
22
22
23Extra-source-files: changelog.txt
23Extra-source-files: changelog.txt
24Data-dir: dist/data
24Data-dir: dist/data
25−Data-files: elm-runtime.js types.json
25+Data-files: elm-runtime.js docs.json
26Cabal-version: >=1.8
26Cabal-version: >=1.8
27
27
28source-repository head
28source-repository head
@@ -32,7 +32,7 @@ source-repository head
32Library
32Library
33 exposed-modules: Language.Elm,
33 exposed-modules: Language.Elm,
34 Language.Elm.Quasi
34 Language.Elm.Quasi
35− Hs-Source-Dirs: src, src/Gen
35+ Hs-Source-Dirs: compiler, compiler/Gen, compiler/Model, compiler/Transform
36 other-modules: Ast,
36 other-modules: Ast,
37 Context,
37 Context,
38 CompileToJS,
38 CompileToJS,
@@ -81,7 +81,7 @@ Library
81
81
82Executable elm
82Executable elm
83 Main-is: Compiler.hs
83 Main-is: Compiler.hs
84− Hs-Source-Dirs: src, src/Gen
84+ Hs-Source-Dirs: compiler, compiler/Gen, compiler/Model, compiler/Transform
85 other-modules: Ast,
85 other-modules: Ast,
86 Context,
86 Context,
87 CompileToJS,
87 CompileToJS,
@@ -128,7 +128,7 @@ Executable elm
128
128
129Executable elm-doc
129Executable elm-doc
130 Main-is: Docs.hs
130 Main-is: Docs.hs
131− Hs-Source-Dirs: src
131+ Hs-Source-Dirs: compiler, compiler/Model
132 other-modules: Ast,
132 other-modules: Ast,
133 Context,
133 Context,
134 Parse.Library,
134 Parse.Library,
Setup.hs+1−1
@@ -29,7 +29,7 @@ myPostBuild as bfs pd lbi = do
29rtsDir = "dist" </> "data"
29rtsDir = "dist" </> "data"
30
30
31rts = rtsDir </> "elm-runtime.js"
31rts = rtsDir </> "elm-runtime.js"
32−types = rtsDir </> "types.json"
32+types = rtsDir </> "docs.json"
33
33
34-- buildDir with LocalBuildInfo points to "dist/build" (usually)
34-- buildDir with LocalBuildInfo points to "dist/build" (usually)
35elm lbi = (buildDir lbi) </> "elm" </> "elm"
35elm lbi = (buildDir lbi) </> "elm" </> "elm"
compiler/changelog.txt → changelog.txtrenamed

The content is the same.

compiler/Ast.hs → compiler/Model/Ast.hsrenamed

The content is the same.

compiler/src/Model/Context.hs → compiler/Model/Context.hsrenamed

The content is the same.

compiler/src/Model/Guid.hs → compiler/Model/Guid.hsrenamed

The content is the same.

compiler/src/Transform/LetBoundVars.hs → compiler/Transform/LetBoundVars.hsrenamed

The content is the same.

compiler/src/Transform/Optimize.hs → compiler/Transform/Optimize.hsrenamed

The content is the same.

compiler/src/Transform/Rename.hs → compiler/Transform/Rename.hsrenamed

The content is the same.

compiler/src/Transform/Replace.hs → compiler/Transform/Replace.hsrenamed

The content is the same.

compiler/src/Transform/Substitute.hs → compiler/Transform/Substitute.hsrenamed

The content is the same.