Portability | portable |
---|---|
Stability | experimental |
Maintainer | ex8k.hibino@gmail.com |
Safe Haskell | Safe-Inferred |
This module provides trace-able action instances like commands.
- chdir :: String -> Trace ()
- pwd :: IO String
- createDirectoryIfMissing :: String -> Trace ()
- renameDirectory :: String -> String -> Trace ()
- renameFile :: String -> String -> Trace ()
- confirmPath :: String -> Trace ()
- unpackInDir :: FilePath -> FilePath -> Trace ()
- unpack :: FilePath -> Trace ()
- packInDir' :: FilePath -> FilePath -> FilePath -> Trace ()
- packInDir :: FilePath -> FilePath -> Trace ()
- cabalDebian' :: Maybe String -> Trace ()
- cabalDebian :: FilePath -> Maybe String -> Trace ()
- dpkgParseChangeLog :: FilePath -> Trace Source
- debuild :: FilePath -> [String] -> Trace ()
- debi :: FilePath -> [String] -> Trace ()
- data BuildMode
- buildPackage :: FilePath -> BuildMode -> [String] -> Trace ()
- rebuild :: FilePath -> BuildMode -> [String] -> Trace ()
- removeGhcLibrary :: BuildMode -> Hackage -> Trace ()
- withCurrentDir' :: FilePath -> Trace a -> Trace a
- readProcess' :: [String] -> Trace String
- rawSystem' :: [String] -> Trace ()
- system' :: String -> Trace ()
Documentation
createDirectoryIfMissing :: String -> Trace ()Source
Create directory if missing
renameDirectory :: String -> String -> Trace ()Source
Rename directory action. e.g. renameDirectory from to
renameFile :: String -> String -> Trace ()Source
Rename file action. e.g. renameFile from to
confirmPath :: String -> Trace ()Source
Confirm filepath using ls command
unpackInDir :: FilePath -> FilePath -> Trace ()Source
Unpack .tar.gz under directory.
packInDir' :: FilePath -> FilePath -> FilePath -> Trace ()Source
Pack directory into .tar.gz under working directory
packInDir :: FilePath -> FilePath -> Trace ()Source
Pack directory into same location .tar.gz under working directory
cabalDebian' :: Maybe String -> Trace ()Source
Just call cabal-debian command
cabalDebian :: FilePath -> Maybe String -> Trace ()Source
Call cabal-debian command under specified directory
dpkgParseChangeLog :: FilePath -> Trace SourceSource
Read debian changelog file and try to parse into Source
debuild :: FilePath -> [String] -> Trace ()Source
Call debuild under specified directory, with command line options
debi :: FilePath -> [String] -> Trace ()Source
Install packages under specified source package directory
buildPackage :: FilePath -> BuildMode -> [String] -> Trace ()Source
Build package using debuild under specified directory
rebuild :: FilePath -> BuildMode -> [String] -> Trace ()Source
Clean and build package using debuild under specified directory
removeGhcLibrary :: BuildMode -> Hackage -> Trace ()Source
Remove ghc library packages under specified source package directory
withCurrentDir' :: FilePath -> Trace a -> Trace aSource
Run action under specified directory
readProcess' :: [String] -> Trace StringSource
Run command without shell and get standard output string.
rawSystem' :: [String] -> Trace ()Source
Run command without shell