Finalize switch to dagger: task: _name

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine
2021-12-20 10:41:52 -07:00
parent 1ea035ff16
commit 1f28ce518d
2 changed files with 15 additions and 28 deletions

View File

@@ -59,11 +59,15 @@ package engine
// Copy files from one FS tree to another
#Copy: {
@dagger(notimplemented)
// @dagger(notimplemented)
$dagger: task: _name: "Copy"
input: #FS
#CopyInfo
source: {
root: #FS
path: string | *"/"
}
dest: string
output: #FS
}
@@ -84,19 +88,3 @@ package engine
layers: [...#CopyInfo]
output: #FS
}
#Copy: {
_type: "Copy"
input: #FS
#CopyInfo
output: #FS
}
#CopyInfo: {
source: {
root: #FS
path: string | *"/"
}
dest: string
}