Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Commit 6404178

Browse files
committed
Reorganize shared modules
1 parent 4f7a675 commit 6404178

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed
File renamed without changes.

ghc-mod.cabal

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Library
107107
Default-Extensions: ScopedTypeVariables, RecordWildCards, NamedFieldPuns,
108108
ConstraintKinds, FlexibleContexts,
109109
DataKinds, KindSignatures, TypeOperators, ViewPatterns
110-
HS-Source-Dirs: ., core
110+
HS-Source-Dirs: ., core, shared
111111
Exposed-Modules:
112112
GhcMod
113113
GhcModExe.Boot
@@ -215,7 +215,7 @@ Executable ghc-mod
215215
Default-Language: Haskell2010
216216
Main-Is: GHCModWrapper.hs
217217
Other-Modules: Paths_ghc_mod
218-
HS-Source-Dirs: src, .
218+
HS-Source-Dirs: ., src, shared
219219
GHC-Options: -Wall
220220
Build-Depends: base < 5 && >= 4.0
221221
, directory < 1.4
@@ -237,7 +237,7 @@ Executable ghc-mod-real
237237
, GHCMod.Options.ShellParse
238238
GHC-Options: -Wall -fno-warn-deprecations -threaded
239239
Default-Extensions: ConstraintKinds, FlexibleContexts
240-
HS-Source-Dirs: src
240+
HS-Source-Dirs: src, shared
241241
X-Internal: True
242242
Build-Depends:
243243
-- See Note [GHC Boot libraries]
@@ -268,7 +268,7 @@ Executable ghc-modi
268268
if os(windows)
269269
Cpp-Options: -DWINDOWS
270270
Default-Extensions: ConstraintKinds, FlexibleContexts
271-
HS-Source-Dirs: src, .
271+
HS-Source-Dirs: ., src, shared
272272
Build-Depends:
273273
-- See Note [GHC Boot libraries]
274274
base
File renamed without changes.
File renamed without changes.

test/doctests.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ main = do
1616
, "-XScopedTypeVariables", "-XRecordWildCards", "-XNamedFieldPuns", "-XConstraintKinds", "-XFlexibleContexts", "-XDataKinds", "-XKindSignatures", "-XTypeOperators", "-XViewPatterns"
1717
, "-i" ++ distdir ++ "/build/autogen/"
1818
, "-icore/"
19+
, "-ishared"
1920
-- , "-optP-include"
2021
-- , "-optP" ++ distdir ++ "/build/autogen/cabal_macros.h"
2122
, "GhcMod.hs"

0 commit comments

Comments
 (0)