buildbox-2.2.1.1: Rehackable components for writing buildbots and test harnesses.

Safe HaskellNone
LanguageHaskell98

BuildBox.Command.Environment

Contents

Description

Gathering information about the build environment.

Synopsis

Build Environment

getEnvironmentWith Source #

Arguments

:: [(String, Build String)]

List of tool names and commands to get their versions.

-> Build Environment 

Get the current environment, including versions of these tools.

Build platform

getHostPlatform :: Build Platform Source #

Get information about the host platform.

getHostName :: Build String Source #

Get the name of this host, using uname.

getHostArch :: Build String Source #

Get the host architecture, using uname.

getHostProcessor :: Build String Source #

Get the host processor name, using uname.

getHostOS :: Build String Source #

Get the host operating system, using uname.

getHostRelease :: Build String Source #

Get the host operating system release, using uname.

Software versions

getVersionGHC :: FilePath -> Build String Source #

Get the version of this GHC, or throw an error if it can't be found.

getVersionGCC :: FilePath -> Build String Source #

Get the version of this GCC, or throw an error if it can't be found.