debian-build-0.10.1.1: Debian package build sequence tools

Copyright2014-2016 Kei Hibino
LicenseBSD3
Maintainerex8k.hibino@gmail.com
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Debian.Package.Build.Sequence

Description

This module provides build-sequence actions.

Synopsis

Documentation

origArchive :: Source -> Build FilePath Source #

Take original source archive name from Build action context.

nativeArchive :: Source -> Build FilePath Source #

Take debian native source archive name from Build action context.

sourceDir :: Source -> Build FilePath Source #

Take source directory from Build action context.

withCurrentDir :: FilePath -> Build a -> Build a Source #

Run Bulid action under specified directory.

withBaseCurrentDir :: Build a -> Build a Source #

Run Build action under base-directory.

getBuildDir :: Build FilePath Source #

Take build-directory from Build action context.

removeBuildDir :: Build () Source #

Remove build-directory.

findDebianChanges :: Build [(FilePath, PackageType)] Source #

Find debian .changes files

copyDebianDir :: FilePath -> Build () Source #

Action to copy debian directory from base-directory into specified directory.

rsyncGenOrigSources :: Source -> Build (FilePath, FilePath) Source #

Setup source directory and original source archive under build-directory using rsync.

rsyncGenNativeSources :: Source -> Build (FilePath, FilePath) Source #

Setup native source directory and native source archive under build-directory using rsync.

rsyncGenSources :: Source -> Build (FilePath, FilePath) Source #

Setup debian source directory and source archive.

cabalGenOrigSources :: HaskellPackage -> Build (FilePath, FilePath) Source #

Setup original source directory and archive using Cabal.

cabalGenSources :: HaskellPackage -> Build (FilePath, FilePath) Source #

Setup source directory and archive using Cabal.

cabalAutogenSources Source #

Arguments

:: String

Hackge name string

-> Maybe String

May specify revision string

-> [String]

Optional arguments of cabal-debian command

-> Build ((FilePath, FilePath), HaskellPackage)

Result package informations of generated source

Setup source directory and archive using Cabal and cabal-debian.

genSources Source #

Arguments

:: Maybe String

May specify revision string

-> [String]

Optional arguments of cabal-debian command

-> Build (Maybe ((FilePath, FilePath), Source, Maybe Hackage))

Result package informations of generated source

On the fly setup of source directory and archive.

findGeneratedSourceDir :: MaybeT Build FilePath Source #

Probe generated source directory path.

findGeneratedSource :: MaybeT Build (FilePath, Source, Hackage) Source #

Probe generated source informations