Bare tokens select a script from godo.yaml.
version: "0.1"
scripts:
test: go test ./...godo testRuns (cwd = directory of godo.yaml):
go test ./...
dialect may be omitted; it defaults to package.
A YAML list runs in order and stops on the first failure.
scripts:
boot:
- echo one
- echo twogodo --preview bootPrints:
echo one
echo two
A # line without @, immediately above the key, is the script doc.
scripts:
# run unit tests
test: go test ./...
vet: go vet ./...godo --lsPrints:
test # run unit tests
vet