You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be taken from stackage-build which already has tried and tested code for this. We already have the basic Stackage.Package module which can read a package description:
--| Anything to do with a package associated with some directory.moduleStackage.PackagewheredataPackageExceptiondataPackage=Package{packageName::!PackageName
,packageVersion::!PackageVersion
,packageDir::!FilePath
,packageFiles::!(SetFilePath)
,packageDependencies::!(MapPackageNameVersionRange)
,packageTools::!(SetTool)
,packageFlags::!(MapTextBool)}dataBuildResultdataPackageConfig=PackageConfig{packageConfigEnableTests::!Bool
, packageConfigEnableBenchmarks::!Bool
, packageConfigFlags::!MapTextBool}
In particular, we need these functions garnered from the Shake-based code in stackage-build:
Activity
chrisdone commentedon May 25, 2015
This is done .