Complete move to $dagger: task: _name

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine
2021-12-20 11:00:43 -07:00
parent 7b7ee5455f
commit a7864a41b4
5 changed files with 9 additions and 10 deletions

View File

@@ -17,7 +17,10 @@ import (
var (
ErrNotTask = errors.New("not a task")
tasks sync.Map
typePath = cue.MakePath(cue.Hid("_type", stdlib.EnginePackage))
typePath = cue.MakePath(
cue.Str("$dagger"),
cue.Str("task"),
cue.Hid("_name", stdlib.EnginePackage))
)
type NewFunc func() Task