fix cue fmt

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-05-26 18:45:11 -07:00
parent 5d63b22ad1
commit af32e60b37
6 changed files with 20 additions and 26 deletions

View File

@ -10,7 +10,6 @@ import (
// Dagger source code // Dagger source code
source: dagger.#Artifact @dagger(input) source: dagger.#Artifact @dagger(input)
test: { test: {
// Go unit tests // Go unit tests
unit: { unit: {
@ -52,7 +51,6 @@ build: {
}).read.data }).read.data
} }
// Execute `dagger help` // Execute `dagger help`
usage: os.#Container & { usage: os.#Container & {
command: "dagger help" command: "dagger help"

View File

@ -19,9 +19,7 @@ golint:
.PHONY: cuefmt .PHONY: cuefmt
cuefmt: cuefmt:
@(cue fmt -s ./stdlib/...) @(find . -name '*.cue' -exec cue fmt -s {} \;)
@(cue fmt -s ./examples/*/)
@(cue fmt -s ./tests/...)
.PHONY: cuelint .PHONY: cuelint
cuelint: cuefmt cuelint: cuefmt

View File

@ -164,9 +164,7 @@ import (
history: description: "List past changes to an environment" history: description: "List past changes to an environment"
delete: { delete: description: "Delete an environment after taking it offline (WARNING: may destroy infrastructure)"
description: "Delete an environment after taking it offline (WARNING: may destroy infrastructure)"
}
plan: { plan: {
description: "Manage an environment plan" description: "Manage an environment plan"