on master help sign in
Match new Paths_elm name
commit9b1607dc9f2943fe9c0a5e8216a845a753661ebb authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 22 Feb 2018, 10:00 (9 years ago) parentf49304e
2 files changed+9−9
compiler/src/Elm/Compiler/Version.hs+2−2 elm.cabal+7−7
compiler/src/Elm/Compiler/Version.hs+2−2
@@ -2,7 +2,7 @@
22module Elm.Compiler.Version (version) where
33
44import qualified Data.Version as Version
5−import qualified Paths_elm_compiler as This
5+import qualified Paths_elm
66import Elm.Package (Version(Version))
77
88
@@ -12,7 +12,7 @@ import Elm.Package (Version(Version))
1212
1313version :: Version
1414version =
15− case map fromIntegral (Version.versionBranch This.version) of
15+ case map fromIntegral (Version.versionBranch Paths_elm.version) of
1616 major : minor : patch : _ ->
1717 Version major minor patch
1818
elm.cabal+7−7
@@ -41,14 +41,15 @@ Executable elm
4141 ghc-options: -O2 -fsimpl-tick-factor=200
4242
4343 Hs-Source-Dirs:
44− compiler/src
4544 builder/src
46− cli/src
45+ compiler/src
46+ terminal/src
4747
4848 Main-Is:
4949 Main.hs
5050
51− exposed-modules:
51+ other-modules:
52+ -- shared from compiler/
5253 Elm.Compiler,
5354 Elm.Compiler.Module,
5455 Elm.Compiler.Objects,
@@ -60,9 +61,8 @@ Executable elm
6061 Elm.Package,
6162 Elm.Utils,
6263 Json.Decode,
63− Json.Encode
64−
65− other-modules:
64+ Json.Encode,
65+ -- private from compiler/
6666 AST.Canonical,
6767 AST.Optimized,
6868 AST.Source,
@@ -145,7 +145,7 @@ Executable elm
145145 Type.Unify,
146146 Type.UnionFind,
147147 Validate,
148− Paths_elm_compiler
148+ Paths_elm
149149
150150 Build-depends:
151151 ansi-terminal >= 0.7 && < 0.8,