ats-pkg-2.4.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 ccompiler)

-> 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

Whether to ignore cached package config

-> Bool

Rebuild all targets

-> 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

-> FilePath

Path to configuration file

-> Bool

Whether to perform setup anyhow.

-> IO () 

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.5-2Pn2f9bdecr38sTmMu1Pov" 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 # 

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 ATSDependency Source #

Type for a dependency

Constructors

ATSDependency 

Fields

data TargetPair Source #

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

Constructors

TargetPair 

Fields

Lenses