Copyright | 2014-2016 Kei Hibino |
---|---|
License | BSD3 |
Maintainer | ex8k.hibino@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
This module provides build-sequence actions.
- origArchive :: Source -> Build FilePath
- nativeArchive :: Source -> Build FilePath
- sourceDir :: Source -> Build FilePath
- withCurrentDir :: FilePath -> Build a -> Build a
- withBaseCurrentDir :: Build a -> Build a
- getBuildDir :: Build FilePath
- removeBuildDir :: Build ()
- findDebianChanges :: Build [(FilePath, PackageType)]
- copyDebianDir :: FilePath -> Build ()
- rsyncGenOrigSources :: Source -> Build (FilePath, FilePath)
- rsyncGenNativeSources :: Source -> Build (FilePath, FilePath)
- rsyncGenSources :: Source -> Build (FilePath, FilePath)
- cabalGenOrigSources :: HaskellPackage -> Build (FilePath, FilePath)
- cabalGenSources :: HaskellPackage -> Build (FilePath, FilePath)
- cabalAutogenSources :: String -> Maybe String -> [String] -> Build ((FilePath, FilePath), HaskellPackage)
- genSources :: Maybe String -> [String] -> Build (Maybe ((FilePath, FilePath), Source, Maybe Hackage))
- findGeneratedSourceDir :: MaybeT Build FilePath
- findGeneratedSource :: MaybeT Build (FilePath, Source, Hackage)
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.
withCurrentDir :: FilePath -> Build a -> Build a Source #
Run Bulid
action under specified directory.
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.
:: 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.