cabal-helper 0.1.0.1 → 0.2.0.0
raw patch · 2 files changed
+8/−3 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Distribution.Helper: ChBenchName :: String -> ChComponentName
+ Distribution.Helper: ChExeEntrypoint :: FilePath -> [ChModuleName] -> ChEntrypoint
+ Distribution.Helper: ChExeName :: String -> ChComponentName
+ Distribution.Helper: ChLibName :: ChComponentName
+ Distribution.Helper: ChLibentrypoint :: [ChModuleName] -> [ChModuleName] -> ChEntrypoint
+ Distribution.Helper: ChModuleName :: String -> ChModuleName
+ Distribution.Helper: ChSetupHsName :: ChComponentName
+ Distribution.Helper: ChTestName :: String -> ChComponentName
+ Distribution.Helper: chExposedModules :: ChEntrypoint -> [ChModuleName]
+ Distribution.Helper: chMainIs :: ChEntrypoint -> FilePath
+ Distribution.Helper: chOtherModules :: ChEntrypoint -> [ChModuleName]
+ Distribution.Helper: data ChComponentName
+ Distribution.Helper: data ChEntrypoint
+ Distribution.Helper: newtype ChModuleName
Files
- Distribution/Helper.hs +5/−0
- cabal-helper.cabal +3/−3
Distribution/Helper.hs view
@@ -32,6 +32,11 @@ , ghcSrcOptions , ghcPkgOptions + -- * Result types+ , ChModuleName(..)+ , ChComponentName(..)+ , ChEntrypoint(..)+ -- * Managing @dist/@ , reconfigure , writeAutogenFiles
cabal-helper.cabal view
@@ -1,5 +1,5 @@ name: cabal-helper-version: 0.1.0.1+version: 0.2.0.0 synopsis: Simple interface to Cabal's configuration state used by ghc-mod description: @cabal-helper@ provides a library which wraps the internal use of executables@@ -9,8 +9,8 @@ @cabal-helper@ uses a wrapper executable to compile the actual cabal-helper executable at runtime while linking against an arbitrary version of Cabal. This runtime-compiled helper executable is then used to extract- various bits and peices from Cabal on disk state (dist/setup-config) written- by it's configure command.+ various bits and peices from Cabal\'s on disk state (dist/setup-config)+ written by it's configure command. In addition to this the wrapper executable also supports installing any version of Cabal from hackage in case it cannot be found in any available