Fix bug in localdir (optional fields in spec not supported)

Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
This commit is contained in:
Solomon Hykes 2021-01-26 16:36:00 -08:00
parent 3e5063828a
commit a26b767780
2 changed files with 10 additions and 10 deletions

View File

@ -72,9 +72,9 @@ package dagger
} }
#Local: { #Local: {
do: "local" do: "local"
dir: string dir: string
include?: [...string] | *[] include: [...string] | *[]
} }
// FIXME: bring back load (more efficient than copy) // FIXME: bring back load (more efficient than copy)
@ -97,11 +97,11 @@ package dagger
#MountCache: "cache" #MountCache: "cache"
#MountComponent: { #MountComponent: {
from: #Component from: #Component
path: string | *"/" path: string | *"/"
} }
#MountScript: { #MountScript: {
from: #Script from: #Script
path: string | *"/" path: string | *"/"
} }
#FetchContainer: { #FetchContainer: {

View File

@ -67,9 +67,9 @@ package dagger
} }
#Local: { #Local: {
do: "local" do: "local"
dir: string dir: string
include?: [...string] | *[] include: [...string] | *[]
} }
// FIXME: bring back load (more efficient than copy) // FIXME: bring back load (more efficient than copy)
@ -92,11 +92,11 @@ package dagger
#MountCache: "cache" #MountCache: "cache"
#MountComponent: { #MountComponent: {
from: #Component from: #Component
path: string | *"/" path: string | *"/"
} }
#MountScript: { #MountScript: {
from: #Script from: #Script
path: string | *"/" path: string | *"/"
} }
#FetchContainer: { #FetchContainer: {