Fix examples/simple (cannot load across package imports)

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes
2021-01-29 23:55:47 -08:00
parent 23a1211cdf
commit fa2cfc1267
3 changed files with 32 additions and 67 deletions

View File

@@ -51,7 +51,9 @@ package dagger
// Any component can be referenced as a directory, since
// every dagger script outputs a filesystem state (aka a directory)
#Dir: #Component
#Dir: #Component & {
#dagger: compute: _
}
#Script: [...#Op]
@@ -67,8 +69,8 @@ package dagger
}
#Local: {
do: "local"
dir: string
do: "local"
dir: string
include: [...string] | *[]
}
@@ -92,11 +94,11 @@ package dagger
#MountCache: "cache"
#MountComponent: {
from: #Component
path: string | *"/"
path: string | *"/"
}
#MountScript: {
from: #Script
path: string | *"/"
path: string | *"/"
}
#FetchContainer: {