b9-0.2.3: A build tool and library for virtual machine images.

Safe HaskellNone
LanguageHaskell2010

B9.ShellScript

Description

Definition of Script and functions to convert Scripts to bash scripts.

Synopsis

Documentation

writeSh :: FilePath -> Script -> IO () Source

Convert script to bash-shell-script written to file and make file executable.

emptyScript :: Script -> Bool Source

Check if a script has the same effect as NoOP

data Cwd Source

Constructors

Cwd FilePath 
NoCwd 

Instances

data User Source

Constructors

User String 
NoUser 

Instances