stdlib: expose dagger.#Source
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
5016cf5e30
commit
5e950b6fe9
@ -4,6 +4,10 @@ import (
|
|||||||
"dagger.io/dagger/engine"
|
"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
|
// Select a subdirectory from a filesystem tree
|
||||||
#Subdir: {
|
#Subdir: {
|
||||||
// Input tree
|
// Input tree
|
||||||
|
@ -4,7 +4,6 @@ package netlify
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"dagger.io/dagger"
|
"dagger.io/dagger"
|
||||||
"dagger.io/dagger/engine"
|
|
||||||
|
|
||||||
"universe.dagger.io/alpine"
|
"universe.dagger.io/alpine"
|
||||||
"universe.dagger.io/docker"
|
"universe.dagger.io/docker"
|
||||||
@ -36,7 +35,7 @@ import (
|
|||||||
create: *true | false
|
create: *true | false
|
||||||
|
|
||||||
// Source code of the Netlify package
|
// Source code of the Netlify package
|
||||||
_source: engine.#Source & {
|
_source: dagger.#Source & {
|
||||||
path: "."
|
path: "."
|
||||||
include: ["*.sh"]
|
include: ["*.sh"]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user