import Pipeline;
try Pipeline.send(project).through(
.pipe(BuildProject(),
.pipe(UploadProject(),
.pipe(DeployProject()),
.fn { project in
// ...
return project
}
))).run()
A lightweight pipeline system for Swift.
I recently attended LaraconEU, where I watched a talk going over all the things that Laravel's relatively-simple Pipeline class makes so much easier. It felt like the kind of thing that could come in handy in the future, so I thought I'd quickly build a Swift version.