mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
additionally: - change backend workload type to worker - add cue format script Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
12 lines
207 B
Bash
Executable File
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/*
|