-
Compile Xcode Playground.
Declaration
Swift
static func compile( nefPlayground: URL, cached: Bool ) -> EnvIO<ProgressReport, nef.Error, Void>
Parameters
nefPlayground
Folder where to search Xcode Playgrounds - it must be a nef Playground structure.
cached
Use cached dependencies if it is possible, in another case, it will download them.
Return Value
An
EnvIO
to perform IO operations that produce errors of typenef.Error
, having access to an immutable environment of type `ProgressReport,. -
compile(xcodePlayground:platform:dependencies:cached:)
Extension methodCompile Xcode Playground.
Declaration
Swift
static func compile( xcodePlayground: URL, platform: Platform, dependencies: PlaygroundDependencies, cached: Bool ) -> EnvIO<ProgressReport, nef.Error, Void>
Parameters
xcodePlayground
Xcode Playgrounds to be compiled.
platform
Target to use for compiling Xcode Playground.
dependencies
To use for the compiler.
cached
Use cached dependencies if it is possible, in another case, it will download them.
Return Value
An
EnvIO
to perform IO operations that produce errors of typenef.Error
, having access to an immutable environment of type `ProgressReport,.