Merge pull request #1406 from grouville/subdir

Port #Subdir to hidden fields
This commit is contained in:
Andrea Luzzardi 2022-01-12 17:38:33 -08:00 committed by GitHub
commit a129f62042
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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