Universe: docker, yarn: cue fmt

Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
This commit is contained in:
Sam Alba 2022-01-14 15:28:33 -08:00
parent c7ffdf788f
commit ce378d5095
3 changed files with 48 additions and 52 deletions

View File

@ -10,7 +10,6 @@ import (
steps: [#Step, ...#Step] steps: [#Step, ...#Step]
output: #Image output: #Image
// Generate build DAG from linerar steps // Generate build DAG from linerar steps
_dag: { _dag: {
for idx, step in steps { for idx, step in steps {

View File

@ -10,12 +10,10 @@ import (
) )
dagger.#Plan & { dagger.#Plan & {
inputs: { inputs: directories: {
directories: {
testdata: path: "./testdata" testdata: path: "./testdata"
testdata2: path: "./testdata2" testdata2: path: "./testdata2"
} }
}
actions: { actions: {
TestReact: { TestReact: {
@ -43,7 +41,7 @@ dagger.#Plan & {
"sh", "-c", "sh", "-c",
#""" #"""
test "$(cat /build/test)" = "output" test "$(cat /build/test)" = "output"
"""# """#,
] ]
} }
} }

View File

@ -77,7 +77,6 @@ import (
image: docker.#Image & yarnImage.output image: docker.#Image & yarnImage.output
script: #""" script: #"""
# Create $ENVFILE_NAME file if set # Create $ENVFILE_NAME file if set
[ -n "$ENVFILE_NAME" ] && echo "$ENVFILE" > "$ENVFILE_NAME" [ -n "$ENVFILE_NAME" ] && echo "$ENVFILE" > "$ENVFILE_NAME"