Safe Haskell | None |
---|---|
Language | Haskell2010 |
Shake helpers.
- (<:>) :: (IsString m, Monoid m) => m -> m -> m
- (<->) :: (IsString m, Monoid m) => m -> m -> m
- (<=>) :: (IsString m, Monoid m) => m -> m -> m
- timestamp :: Action String
- buildFile :: FilePath -> FilePath
- fakeFile :: FilePath -> FilePath
- metaFile :: FilePath -> FilePath
- mirrorDir :: Action FilePath
- parentDir :: Action FilePath
- getVar :: String -> Action String
- getFlag :: String -> Action Bool
- cmdArgs :: String -> [String] -> Action String
- cmdArgs_ :: String -> [String] -> Action ()
- cmdArgsDir :: FilePath -> String -> [String] -> Action String
- cmdArgsDir_ :: FilePath -> String -> [String] -> Action ()
- stack :: FilePath -> [String] -> Action String
- stack_ :: FilePath -> [String] -> Action ()
- stackExec :: FilePath -> String -> [String] -> Action String
- stackExec_ :: FilePath -> String -> [String] -> Action ()
- sed_ :: FilePath -> [String] -> Action ()
- replace :: FilePath -> FilePath -> String -> String -> Action ()
- git :: FilePath -> [String] -> Action String
- git_ :: FilePath -> [String] -> Action ()
- schemaApply_ :: FilePath -> [String] -> Action ()
- m4 :: [String] -> Action String
- aws :: [String] -> Action String
- rsync_ :: [String] -> Action ()
- ssh :: String -> [String] -> Action String
- ssh_ :: String -> [String] -> Action ()
- sshDir :: FilePath -> String -> [String] -> Action String
- sshDir_ :: FilePath -> String -> [String] -> Action ()
- rssh :: [String] -> Action String
- rssh_ :: [String] -> Action ()
- rdocker_ :: [String] -> Action ()
- docker_ :: [String] -> Action ()
- xdocker_ :: [String] -> Action ()
- convox_ :: [String] -> Action ()
- fake :: FilePath -> [FilePattern] -> String -> ([FilePath] -> Action ()) -> Rules ()
- meta :: FilePath -> Action String -> Rules ()
- preprocess :: FilePattern -> FilePath -> Action [(String, String)] -> Rules ()
- getHashedVersion :: FilePath -> [FilePattern] -> Action String
- hsRules :: FilePath -> [FilePattern] -> Rules ()
- stackRules :: FilePath -> [FilePattern] -> Rules ()
- stackTargetRules :: FilePath -> String -> [FilePattern] -> Rules ()
- cabalRules :: FilePath -> FilePath -> Rules ()
- dbRules :: FilePath -> Rules ()
- dockerRules :: FilePath -> [FilePattern] -> Rules ()
- shakeMain :: Rules () -> IO ()
Documentation
getFlag :: String -> Action Bool Source #
Wrapper round getting the environment that returns a bool if env is present.
cmdArgsDir :: FilePath -> String -> [String] -> Action String Source #
Run commands in a dir with return string.
cmdArgsDir_ :: FilePath -> String -> [String] -> Action () Source #
Run commands in a dir with no return.
stackExec_ :: FilePath -> String -> [String] -> Action () Source #
Stack exec command without return.
sshDir :: FilePath -> String -> [String] -> Action String Source #
SSH command in a remote directory.
sshDir_ :: FilePath -> String -> [String] -> Action () Source #
SSH command in a remote directory with no return.
fake :: FilePath -> [FilePattern] -> String -> ([FilePath] -> Action ()) -> Rules () Source #
Use a fake file to keep track of the last time an file-free action ran.
meta :: FilePath -> Action String -> Rules () Source #
Use a meta file to keep track of vitual content.
preprocess :: FilePattern -> FilePath -> Action [(String, String)] -> Rules () Source #
Preprocess a file with m4.
getHashedVersion :: FilePath -> [FilePattern] -> Action String Source #
Build a hash version from a directory and file pattern.
stackRules :: FilePath -> [FilePattern] -> Rules () Source #
Stack rules.
stackTargetRules :: FilePath -> String -> [FilePattern] -> Rules () Source #
Stack rules.
dockerRules :: FilePath -> [FilePattern] -> Rules () Source #
Docker rules.