Cabal-1.8.0.4: A framework for packaging Haskell softwareSource codeContentsIndex
Distribution.Simple.Program.Script
Portabilityportable
Maintainercabal-devel@haskell.org
Description
This module provides an library interface to the hc-pkg program. Currently only GHC and LHC have hc-pkg programs.
Synopsis
invocationAsSystemScript :: OS -> ProgramInvocation -> String
invocationAsShellScript :: ProgramInvocation -> String
invocationAsBatchFile :: ProgramInvocation -> String
Documentation
invocationAsSystemScript :: OS -> ProgramInvocation -> StringSource
Generate a system script, either POSIX shell script or Windows batch file as appropriate for the given system.
invocationAsShellScript :: ProgramInvocation -> StringSource
Generate a POSIX shell script that invokes a program.
invocationAsBatchFile :: ProgramInvocation -> StringSource
Generate a Windows batch file that invokes a program.
Produced by Haddock version 2.6.1