Make engine.#Scratch a specialization of #FS, rather than a task

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine
2022-01-07 15:43:58 -07:00
parent 80a42be174
commit 3003b31be3
10 changed files with 15 additions and 41 deletions

View File

@@ -4,10 +4,8 @@ import "alpha.dagger.io/europa/dagger/engine"
engine.#Plan & {
actions: {
scratch: engine.#Scratch
data: engine.#WriteFile & {
input: scratch.output
input: engine.#Scratch
path: "/test"
permissions: 0o600
contents: "foobar"