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

Commit

Permalink
Reorganize shared modules
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielG committed May 17, 2017
1 parent 4f7a675 commit 6404178
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions ghc-mod.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Library
Default-Extensions: ScopedTypeVariables, RecordWildCards, NamedFieldPuns,
ConstraintKinds, FlexibleContexts,
DataKinds, KindSignatures, TypeOperators, ViewPatterns
HS-Source-Dirs: ., core
HS-Source-Dirs: ., core, shared
Exposed-Modules:
GhcMod
GhcModExe.Boot
Expand Down Expand Up @@ -215,7 +215,7 @@ Executable ghc-mod
Default-Language: Haskell2010
Main-Is: GHCModWrapper.hs
Other-Modules: Paths_ghc_mod
HS-Source-Dirs: src, .
HS-Source-Dirs: ., src, shared
GHC-Options: -Wall
Build-Depends: base < 5 && >= 4.0
, directory < 1.4
Expand All @@ -237,7 +237,7 @@ Executable ghc-mod-real
, GHCMod.Options.ShellParse
GHC-Options: -Wall -fno-warn-deprecations -threaded
Default-Extensions: ConstraintKinds, FlexibleContexts
HS-Source-Dirs: src
HS-Source-Dirs: src, shared
X-Internal: True
Build-Depends:
-- See Note [GHC Boot libraries]
Expand Down Expand Up @@ -268,7 +268,7 @@ Executable ghc-modi
if os(windows)
Cpp-Options: -DWINDOWS
Default-Extensions: ConstraintKinds, FlexibleContexts
HS-Source-Dirs: src, .
HS-Source-Dirs: ., src, shared
Build-Depends:
-- See Note [GHC Boot libraries]
base
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions test/doctests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ main = do
, "-XScopedTypeVariables", "-XRecordWildCards", "-XNamedFieldPuns", "-XConstraintKinds", "-XFlexibleContexts", "-XDataKinds", "-XKindSignatures", "-XTypeOperators", "-XViewPatterns"
, "-i" ++ distdir ++ "/build/autogen/"
, "-icore/"
, "-ishared"
-- , "-optP-include"
-- , "-optP" ++ distdir ++ "/build/autogen/cabal_macros.h"
, "GhcMod.hs"
Expand Down

0 comments on commit 6404178

Please sign in to comment.