wip
This commit is contained in:
parent
0fbf7335e4
commit
3cacaaad10
@ -13,7 +13,7 @@ type context struct {
|
|||||||
input, output chan *file
|
input, output chan *file
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ctx *context) chain() {
|
func (ctx *context) step() {
|
||||||
defer close(ctx.output)
|
defer close(ctx.output)
|
||||||
|
|
||||||
var err error
|
var err error
|
||||||
|
2
core.go
2
core.go
@ -117,7 +117,7 @@ func (gs *goldsmith) End(dstDir string) []error {
|
|||||||
gs.dstDir = dstDir
|
gs.dstDir = dstDir
|
||||||
|
|
||||||
for _, ctx := range gs.contexts {
|
for _, ctx := range gs.contexts {
|
||||||
go ctx.chain()
|
go ctx.step()
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx := gs.contexts[len(gs.contexts)-1]
|
ctx := gs.contexts[len(gs.contexts)-1]
|
||||||
|
Loading…
Reference in New Issue
Block a user