Skip to content

Instantly share code, notes, and snippets.

@samuell

samuell/scipipe_late.go

Last active Jul 17, 2018
Embed
What would you like to do?
package main
import (
sp "github.com/scipipe/scipipe"
)
func main() {
wf := sp.NewWorkflow("hello_world", 4)
hello := wf.NewProc("hello", "echo 'Hello ' > {o:out}")
hello.SetOut("out", "hello.txt")
world := wf.NewProc("world", "echo $(cat {i:in}) World >> {o:out}")
world.SetOut("out", "{i:in|%.txt}_world.txt")
world.In("in").From(hello.Out("out"))
wf.Run()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.