Safe Haskell | None |
---|---|
Language | Haskell2010 |
A simplistic model of cabal multi-package files and convertors from Stackage.
Synopsis
- stackToCabal :: [PackageName] -> FilePath -> Stack -> IO (Project, Freeze)
- data Project = Project Ghc (NonEmpty FilePath) [Git]
- printProject :: Project -> Text
- data Freeze = Freeze [PackageIdentifier] Flags
- printFreeze :: Freeze -> Text
Documentation
stackToCabal :: [PackageName] -> FilePath -> Stack -> IO (Project, Freeze) Source #
Converts a stack.yaml (and list of local packages) to cabal.project and cabal.project.freeze.
printProject :: Project -> Text Source #
printFreeze :: Freeze -> Text Source #