Reorganize shared modules
This commit is contained in:
parent
3572b720d1
commit
dc0a161925
@ -107,7 +107,7 @@ Library
|
|||||||
Default-Extensions: ScopedTypeVariables, RecordWildCards, NamedFieldPuns,
|
Default-Extensions: ScopedTypeVariables, RecordWildCards, NamedFieldPuns,
|
||||||
ConstraintKinds, FlexibleContexts,
|
ConstraintKinds, FlexibleContexts,
|
||||||
DataKinds, KindSignatures, TypeOperators, ViewPatterns
|
DataKinds, KindSignatures, TypeOperators, ViewPatterns
|
||||||
HS-Source-Dirs: ., core
|
HS-Source-Dirs: ., core, shared
|
||||||
Exposed-Modules:
|
Exposed-Modules:
|
||||||
GhcMod
|
GhcMod
|
||||||
GhcModExe.Boot
|
GhcModExe.Boot
|
||||||
@ -221,7 +221,7 @@ Executable ghc-mod
|
|||||||
, GHCMod.Options.ShellParse
|
, GHCMod.Options.ShellParse
|
||||||
GHC-Options: -Wall -fno-warn-deprecations -threaded
|
GHC-Options: -Wall -fno-warn-deprecations -threaded
|
||||||
Default-Extensions: ConstraintKinds, FlexibleContexts
|
Default-Extensions: ConstraintKinds, FlexibleContexts
|
||||||
HS-Source-Dirs: src
|
HS-Source-Dirs: src, shared
|
||||||
X-Internal: True
|
X-Internal: True
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
-- See Note [GHC Boot libraries]
|
-- See Note [GHC Boot libraries]
|
||||||
@ -251,7 +251,7 @@ Executable ghc-modi
|
|||||||
if os(windows)
|
if os(windows)
|
||||||
Cpp-Options: -DWINDOWS
|
Cpp-Options: -DWINDOWS
|
||||||
Default-Extensions: ConstraintKinds, FlexibleContexts
|
Default-Extensions: ConstraintKinds, FlexibleContexts
|
||||||
HS-Source-Dirs: src, .
|
HS-Source-Dirs: ., src, shared
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
-- See Note [GHC Boot libraries]
|
-- See Note [GHC Boot libraries]
|
||||||
base
|
base
|
||||||
|
@ -16,6 +16,7 @@ main = do
|
|||||||
, "-XScopedTypeVariables", "-XRecordWildCards", "-XNamedFieldPuns", "-XConstraintKinds", "-XFlexibleContexts", "-XDataKinds", "-XKindSignatures", "-XTypeOperators", "-XViewPatterns"
|
, "-XScopedTypeVariables", "-XRecordWildCards", "-XNamedFieldPuns", "-XConstraintKinds", "-XFlexibleContexts", "-XDataKinds", "-XKindSignatures", "-XTypeOperators", "-XViewPatterns"
|
||||||
, "-i" ++ distdir ++ "/build/autogen/"
|
, "-i" ++ distdir ++ "/build/autogen/"
|
||||||
, "-icore/"
|
, "-icore/"
|
||||||
|
, "-ishared"
|
||||||
-- , "-optP-include"
|
-- , "-optP-include"
|
||||||
-- , "-optP" ++ distdir ++ "/build/autogen/cabal_macros.h"
|
-- , "-optP" ++ distdir ++ "/build/autogen/cabal_macros.h"
|
||||||
, "GhcMod.hs"
|
, "GhcMod.hs"
|
||||||
|
Loading…
Reference in New Issue
Block a user