Move the core functionality into new package ghc-mod-core
This commit is contained in:
@@ -48,7 +48,7 @@ import System.Process
|
||||
import System.Exit
|
||||
import Prelude hiding ((.))
|
||||
|
||||
import Paths_ghc_mod as GhcMod
|
||||
import Paths_ghc_mod_core as GhcMod
|
||||
|
||||
-- | Only package related GHC options, sufficient for things that don't need to
|
||||
-- access home modules
|
||||
|
||||
@@ -35,7 +35,7 @@ import qualified Data.ByteString.Char8 as BS8
|
||||
import System.FilePath
|
||||
import System.Directory.ModTime
|
||||
import Utils (TimedFile(..), timeMaybe, mightExist)
|
||||
import Paths_ghc_mod (version)
|
||||
import Paths_ghc_mod_core (version)
|
||||
import Prelude
|
||||
|
||||
import GhcMod.Monad.Types
|
||||
|
||||
@@ -45,7 +45,7 @@ import Exception
|
||||
import Panic
|
||||
import Pretty
|
||||
import Config (cProjectVersion, cHostPlatformString)
|
||||
import Paths_ghc_mod (version)
|
||||
import Paths_ghc_mod_core (version)
|
||||
|
||||
import GhcMod.Types
|
||||
import GhcMod.Pretty
|
||||
|
||||
@@ -40,7 +40,7 @@ import System.IO.Temp (createTempDirectory)
|
||||
import System.Process (readProcess)
|
||||
import Text.Printf
|
||||
|
||||
import Paths_ghc_mod (getLibexecDir, getBinDir)
|
||||
import Paths_ghc_mod_core (getLibexecDir, getBinDir)
|
||||
import Utils
|
||||
import Prelude
|
||||
|
||||
|
||||
Reference in New Issue
Block a user