Port #Subdir to hidden fields

@jlongtine just implemented the possibility to use hidden fields.
This PR uses this new implementation

Pair: @jlongtine

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
This commit is contained in:
guillaume 2022-01-13 00:42:22 +01:00
parent 9b81b46677
commit db54a43a91

View File

@ -13,11 +13,8 @@ import (
// Example: "/build"
path: string
// Subdirectory tree
output: #FS & copy.output
// Copy action
copy: engine.#Copy & {
_copy: engine.#Copy & {
"input": engine.#Scratch
source: {
root: input
@ -25,4 +22,7 @@ import (
}
dest: "/"
}
// Subdirectory tree
output: #FS & _copy.output
}