Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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()
- }
Add Comment
Please, Sign In to add comment