Safe Haskell | None |
---|---|
Language | Haskell2010 |
- pkgToAction :: [IO ()] -> [String] -> Maybe String -> Pkg -> Rules ()
- build :: [String] -> IO ()
- buildAll :: Maybe String -> Maybe FilePath -> IO ()
- check :: Maybe FilePath -> IO Bool
- mkPkg :: Bool -> Bool -> Bool -> [IO ()] -> [String] -> Maybe String -> Int -> IO ()
- cleanAll :: IO ()
- fetchDeps :: CCompiler -> [IO ()] -> [String] -> [String] -> [String] -> FilePath -> Bool -> IO ()
- buildHelper :: Bool -> ATSDependency -> IO ()
- checkPkg :: FilePath -> Bool -> IO ATSPackageSet
- displayList :: String -> IO ()
- upgradeBin :: String -> String -> IO ()
- atspkgVersion :: Version
- packageCompiler :: FilePath -> IO ()
- newtype Version :: * = Version [Integer]
- data Pkg = Pkg {}
- data Bin = Bin {}
- data Lib = Lib {}
- data ATSConstraint = ATSConstraint {}
- data ATSDependency = ATSDependency {
- libName :: Text
- dir :: Text
- url :: Text
- description :: Maybe Text
- libVersion :: Version
- libDeps :: [LibDep]
- libBldDeps :: [LibDep]
- data TargetPair = TargetPair {}
- data ForeignCabal :: * = ForeignCabal {
- projectFile :: Maybe Text
- cabalFile :: Text
- objectFile :: Text
- newtype ATSPackageSet = ATSPackageSet {
- _atsPkgSet :: [ATSDependency]
- type LibDep = (Text, ATSConstraint)
- type DepSelector = ATSDependency -> [LibDep]
- data PackageError
- dirLens :: Lens' ATSDependency Text
Documentation
buildAll :: Maybe String -> Maybe FilePath -> IO () Source #
Build in current directory or indicated directory
buildHelper :: Bool -> ATSDependency -> IO () Source #
:: FilePath | Path to |
-> Bool | Whether to print detailed error messages. |
-> IO ATSPackageSet |
Ecosystem functionality
displayList :: String -> IO () Source #
Functions involving the compiler
packageCompiler :: FilePath -> IO () Source #
Types
Data type associated with atspkg.dhall
file.
Pkg | |
|
Bin | |
|
Lib | |
|
data ATSConstraint Source #
data ATSDependency Source #
Type for a dependency
ATSDependency | |
|
data TargetPair Source #
This is just a tuple, except I can figure out how to use it with Dhall.
data ForeignCabal :: * #
Data type containing information about Haskell components of a build.
ForeignCabal | |
|
newtype ATSPackageSet Source #
type LibDep = (Text, ATSConstraint) Source #
type DepSelector = ATSDependency -> [LibDep] Source #
You likely want $sel:libDeps:ATSDependency
or $sel:libBldDeps:ATSDependency