spago-0.21.0
Safe HaskellNone
LanguageHaskell2010

Spago.PackageSet

Synopsis

Documentation

updatePackageSetVersion :: (HasLogFunc env, HasGlobalCache env, HasPurs env) => Maybe Text -> RIO env () #

Use the specified version of the package set (if specified). Otherwise, get the latest version of the package set if possible

makePackageSetFile :: HasLogFunc env => Force -> TemplateComments -> RIO env () #

Tries to create the `packages.dhall` file if needed

freeze :: HasLogFunc env => FilePath -> RIO env () #

Freeze the package set remote imports so they will be cached

ensureFrozen :: HasLogFunc env => FilePath -> RIO env () #

Freeze the file if any of the remote imports are not frozen

findRootOutputPath :: HasLogFunc env => FilePath -> RIO env (Maybe FilePath) #

In a Monorepo we don't wish to rebuild our shared packages over and over, | so we build into an output folder where our root packages.dhall lives