This module contains some operations for processing packages, like installing package sources, cleaning packages, rendering package infos.
installPackageSourceTo
:: Package -> PackageSource -> String -> IO ([LogEntry],Either LogEntry ())
Installs the source of the package from the given source location into the subdirectory packageId pkg
of the given directory.
|
cleanPackage
:: Config -> LogLevel -> IO ([LogEntry],Either LogEntry ())
Cleans auxiliary files in the local package, i.e., the package containing the current working directory. |
renderPackageInfo
:: Bool -> Bool -> Bool -> Package -> String
Renders information about a package. |
getLocalPackageSpec
:: Config -> String -> IO ([LogEntry],Either LogEntry String)
Tries to find a package specification in the given directory or one of its ancestors. |
Installs the source of the package from the given source location
into the subdirectory |
Cleans auxiliary files in the local package, i.e., the package containing the current working directory. |
Renders information about a package. |
Tries to find a package specification in the given directory or one of its
ancestors. If there is no package specifiction in these directories,
the home package specification (i.e., |