Files
kubevela/hack/cue-fmt.sh
T
Hongchao Deng e20b6c9bf4 doc: add app init, config, and capability references
additionally:

- change backend workload type to worker
- add cue format script

Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-11-03 19:25:41 -08:00

12 lines
207 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if ! cue version ; then
echo "Installing CUE..."
GO111MODULE=off go get -u cuelang.org/go/cmd/cue
fi
echo "Formatting CUE templates..."
cue fmt ./hack/vela-templates/cue/*