Merge pull request #508 from aluzzardi/cue-fmt

fix cue fmt
This commit is contained in:
Sam Alba 2021-05-27 00:38:37 -07:00 committed by GitHub
commit b47512ba6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 26 deletions

View File

@ -10,7 +10,6 @@ import (
// Dagger source code
source: dagger.#Artifact @dagger(input)
test: {
// Go unit tests
unit: {
@ -52,12 +51,11 @@ build: {
}).read.data
}
// Execute `dagger help`
usage: os.#Container & {
command: "dagger help"
let binpath="/usr/local/dagger/bin"
let binpath = "/usr/local/dagger/bin"
mount: "\(binpath)": from: build.binaries
shell: search: "\(binpath)": true
}

View File

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

View File

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