gitpod/components/gitpod-protocol/hack/generate-config.sh
2021-09-13 16:14:38 +05:30

11 lines
280 B
Bash
Executable File

#!/bin/bash
go install -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