gitpod/components/gitpod-protocol/hack/generate-config.sh
2021-06-14 08:53:07 -04:00

11 lines
276 B
Bash
Executable File

#!/bin/bash
go get -u github.com/a-h/generate/...
schema-generate -p protocol ../data/gitpod-schema.json > ../go/gitpod-config-types.go
sed -i 's/json:/yaml:/g' ../go/gitpod-config-types.go
gofmt -w ../go/gitpod-config-types.go
leeway run components:update-license-header