mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
14 lines
398 B
Bash
Executable File
14 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
|
|
COMPONENT_PATH="$(dirname "$0")/.."
|
|
GITPOD_CONFIG_TYPE_PATH="$COMPONENT_PATH/go/gitpod-config-types.go"
|
|
|
|
go install github.com/a-h/generate/...@latest
|
|
|
|
schema-generate -p protocol "$COMPONENT_PATH/data/gitpod-schema.json" > "$GITPOD_CONFIG_TYPE_PATH"
|
|
|
|
sed -i 's/json:/yaml:/g' "$GITPOD_CONFIG_TYPE_PATH"
|
|
gofmt -w "$GITPOD_CONFIG_TYPE_PATH"
|
|
|
|
leeway run components:update-license-header
|