25 lines
376 B
CUE
25 lines
376 B
CUE
|
package main
|
||
|
|
||
|
import (
|
||
|
"dagger.io/dagger"
|
||
|
|
||
|
"universe.dagger.io/go"
|
||
|
//"universe.dagger.io/bash"
|
||
|
)
|
||
|
|
||
|
dagger.#Plan & {
|
||
|
client: filesystem: "./hello": read: contents: dagger.#FS
|
||
|
|
||
|
actions: {
|
||
|
test: go.#Test & {
|
||
|
source: client.filesystem."./hello".read.contents
|
||
|
package: "./..."
|
||
|
}
|
||
|
|
||
|
build: go.#Build & {
|
||
|
source: client.filesystem."./hello".read.contents
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|