stdlib: expose dagger.#Source

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2022-01-20 16:50:53 -08:00
parent 5016cf5e30
commit 5e950b6fe9
2 changed files with 5 additions and 2 deletions

View File

@ -4,6 +4,10 @@ import (
"dagger.io/dagger/engine"
)
// Access the source directory for the current CUE package
// This may safely be called from any package
#Source: engine.#Source
// Select a subdirectory from a filesystem tree
#Subdir: {
// Input tree

View File

@ -4,7 +4,6 @@ package netlify
import (
"dagger.io/dagger"
"dagger.io/dagger/engine"
"universe.dagger.io/alpine"
"universe.dagger.io/docker"
@ -36,7 +35,7 @@ import (
create: *true | false
// Source code of the Netlify package
_source: engine.#Source & {
_source: dagger.#Source & {
path: "."
include: ["*.sh"]
}