ats-pkg-2.6.0.3: A build tool for ATS

Safe HaskellNone
LanguageHaskell2010

Language.ATS.Package

Contents

Synopsis

Documentation

pkgToAction Source #

Arguments

:: [IO ()]

Setup actions to be performed

-> [String]

Targets

-> Maybe String

Optional compiler triple (overrides $sel:ccompiler:Pkg)

-> Pkg

Package data type

-> Rules () 

build Source #

Arguments

:: [String]

Targets

-> IO () 

Build a set of targets

buildAll :: Maybe FilePath -> IO () Source #

Build in current directory or indicated directory

mkPkg Source #

Arguments

:: Bool

Force rebuild

-> Bool

Run linter

-> [IO ()]

Setup

-> [String]

Targets

-> Maybe String

Target triple

-> Int

Verbosity

-> IO () 

fetchDeps Source #

Arguments

:: CCompiler

C compiler to use

-> [IO ()]

Setup steps that can be performed concurrently

-> [String]

ATS dependencies

-> [String]

C Dependencies

-> [String]

ATS build dependencies

-> FilePath

Path to configuration file

-> Bool

Whether to perform setup anyhow.

-> IO () 

checkPkg Source #

Arguments

:: FilePath

Path to pkg.dhall or similar.

-> Bool

Whether to print detailed error messages.

-> IO ATSDependency 

Ecosystem functionality

Cabal helper functions

Types

newtype Version :: * #

Constructors

Version [Integer] 

Instances

Eq Version 

Methods

(==) :: Version -> Version -> Bool #

(/=) :: Version -> Version -> Bool #

Ord Version 
Show Version 
Generic Version 

Associated Types

type Rep Version :: * -> * #

Methods

from :: Version -> Rep Version x #

to :: Rep Version x -> Version #

Binary Version 

Methods

put :: Version -> Put #

get :: Get Version #

putList :: [Version] -> Put #

NFData Version 

Methods

rnf :: Version -> () #

type Rep Version 
type Rep Version = D1 * (MetaData "Version" "Data.Dependency.Type" "dependency-0.1.0.9-1nc6be5HQ20N6N0tffMmN" True) (C1 * (MetaCons "Version" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Integer])))

data Pkg Source #

Data type associated with atspkg.dhall file.

Constructors

Pkg 

Fields

Instances

Eq Pkg Source # 

Methods

(==) :: Pkg -> Pkg -> Bool #

(/=) :: Pkg -> Pkg -> Bool #

Show Pkg Source # 

Methods

showsPrec :: Int -> Pkg -> ShowS #

show :: Pkg -> String #

showList :: [Pkg] -> ShowS #

Generic Pkg Source # 

Associated Types

type Rep Pkg :: * -> * #

Methods

from :: Pkg -> Rep Pkg x #

to :: Rep Pkg x -> Pkg #

Binary Pkg Source # 

Methods

put :: Pkg -> Put #

get :: Get Pkg #

putList :: [Pkg] -> Put #

Interpret Pkg Source # 
type Rep Pkg Source # 
type Rep Pkg = D1 * (MetaData "Pkg" "Language.ATS.Package.Type" "ats-pkg-2.6.0.3-2zzHeOHS2Gr3HWlEHgWWnz" False) (C1 * (MetaCons "Pkg" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "bin") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Bin])) ((:*:) * (S1 * (MetaSel (Just Symbol "test") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Bin])) (S1 * (MetaSel (Just Symbol "libraries") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Lib])))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "man") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "completions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "version") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Version)) (S1 * (MetaSel (Just Symbol "compiler") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Version))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "dependencies") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [LibDep])) ((:*:) * (S1 * (MetaSel (Just Symbol "clib") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [LibDep])) (S1 * (MetaSel (Just Symbol "buildDeps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [LibDep])))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "ccompiler") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "cflags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Text]))) ((:*:) * (S1 * (MetaSel (Just Symbol "atsSource") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * [Text])) (S1 * (MetaSel (Just Symbol "cDir") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))))))

data Bin Source #

Constructors

Bin 

Fields

Instances

Eq Bin Source # 

Methods

(==) :: Bin -> Bin -> Bool #

(/=) :: Bin -> Bin -> Bool #

Show Bin Source # 

Methods

showsPrec :: Int -> Bin -> ShowS #

show :: Bin -> String #

showList :: [Bin] -> ShowS #

Generic Bin Source # 

Associated Types

type Rep Bin :: * -> * #

Methods

from :: Bin -> Rep Bin x #

to :: Rep Bin x -> Bin #

Binary Bin Source # 

Methods

put :: Bin -> Put #

get :: Get Bin #

putList :: [Bin] -> Put #

Interpret Bin Source # 
type Rep Bin Source # 

data Lib Source #

Constructors

Lib 

Fields

Instances

Eq Lib Source # 

Methods

(==) :: Lib -> Lib -> Bool #

(/=) :: Lib -> Lib -> Bool #

Show Lib Source # 

Methods

showsPrec :: Int -> Lib -> ShowS #

show :: Lib -> String #

showList :: [Lib] -> ShowS #

Generic Lib Source # 

Associated Types

type Rep Lib :: * -> * #

Methods

from :: Lib -> Rep Lib x #

to :: Rep Lib x -> Lib #

Binary Lib Source # 

Methods

put :: Lib -> Put #

get :: Get Lib #

putList :: [Lib] -> Put #

Interpret Lib Source # 
type Rep Lib Source # 

data ATSDependency Source #

Type for a dependency

Constructors

ATSDependency 

Fields

Instances

Eq ATSDependency Source # 
Show ATSDependency Source # 
Generic ATSDependency Source # 

Associated Types

type Rep ATSDependency :: * -> * #

Binary ATSDependency Source # 
Interpret ATSDependency Source # 
type Rep ATSDependency Source # 

data TargetPair Source #

This is just a tuple, except I can figure out how to use it with Dhall.

Constructors

TargetPair 

Fields

data ForeignCabal :: * #

Data type containing information about Haskell components of a build.

Constructors

ForeignCabal 

Fields

Lenses