-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Package manager for ATS
--
-- A collection of scripts to make building ATS projects easy.
@package ats-pkg
@version 2.0.0.2
module Language.ATS.Package
packageCompiler :: FilePath -> IO ()
pkgToAction :: [String] -> Pkg -> Rules ()
fetchCompiler :: Version -> IO ()
setupCompiler :: Version -> IO ()
newtype Version :: *
Version :: [Integer] -> Version
data Pkg
Pkg :: [Bin] -> [Bin] -> Maybe Text -> Version -> Version -> [Dependency] -> [Dependency] -> Text -> [Text] -> [Text] -> Text -> Pkg
-- | List of binaries to be built
[bin] :: Pkg -> [Bin]
-- | List of test suites
[test] :: Pkg -> [Bin]
-- | Optional (markdown) manpages to be converted using pandoc.
[man] :: Pkg -> Maybe Text
-- | Library version
[version] :: Pkg -> Version
-- | Compiler version
[compiler] :: Pkg -> Version
-- | List of dependencies
[dependencies] :: Pkg -> [Dependency]
-- | List of C dependencies
[clib] :: Pkg -> [Dependency]
-- | The C compiler we should use
[ccompiler] :: Pkg -> Text
-- | List of flags to pass to the C compiler
[cflags] :: Pkg -> [Text]
-- | Directory containing ATS source to be compile to C.
[atsSource] :: Pkg -> [Text]
-- | Directory for generated C.
[cDir] :: Pkg -> Text
data Bin
Bin :: Text -> Text -> [Text] -> [Text] -> [TargetPair] -> Bool -> Bin
-- | Source file (should end with .dats)
[src] :: Bin -> Text
-- | Binary to be built
[target] :: Bin -> Text
-- | Libraries to link against (e.g. [ "pthread" ])
[libs] :: Bin -> [Text]
-- | Haskell source files to link against final generated ATS
[hsDeps] :: Bin -> [Text]
-- | List of sources and targets for hs2ats
[hs2ats] :: Bin -> [TargetPair]
-- | Whether to use the garbage collector
[gc] :: Bin -> Bool
data Constraint
Constraint :: Text -> Maybe Version -> Maybe Version -> Constraint
[pkgName] :: Constraint -> Text
[lower] :: Constraint -> Maybe Version
[upper] :: Constraint -> Maybe Version
-- | Type for a dependency
data Dependency
Dependency :: Text -> Text -> Text -> Version -> Dependency
-- | Library name, e.g.
[libName] :: Dependency -> Text
-- | Directory we should unpack to
[dir] :: Dependency -> Text
-- | Url pointing to tarball
[url] :: Dependency -> Text
[libVersion] :: Dependency -> Version
dirLens :: Lens' Dependency Text
module Language.ATS.Package.Exec
exec :: IO ()