Add simple test environment for core features

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2021-06-17 14:11:10 +00:00
committed by Solomon Hykes
parent 21c76f2873
commit 49277af680
5 changed files with 76 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
package testcore
import (
"dagger.io/dagger"
)
name: string | *"world" @dagger(input)
message: "Hello, \(name)!" @dagger(output)
dir: dagger.#Artifact @dagger(input)
samedir: dir @dagger(output)