mirror of https://github.com/databricks/cli.git
move gen file
This commit is contained in:
parent
5b7974757d
commit
ac60163c19
|
@ -11,10 +11,10 @@
|
|||
"toolchain": {
|
||||
"required": ["go"],
|
||||
"post_generate": [
|
||||
"go run ./bundle/internal/schema/*.go ./bundle/internal/schema/schema.generated.json",
|
||||
"go run ./bundle/internal/schema/*.go ./cmd/bundle/_generated/jsonschema.json",
|
||||
"echo 'bundle/internal/tf/schema/\\*.go linguist-generated=true' >> ./.gitattributes",
|
||||
"echo 'go.sum linguist-generated=true' >> ./.gitattributes",
|
||||
"echo 'bundle/schema/docs/schema.generated.json linguist-generated=true' >> ./.gitattributes"
|
||||
"echo 'cmd/bundle/_generated linguist-generated=true' >> ./.gitattributes"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,6 +13,8 @@ func newSchemaCommand() *cobra.Command {
|
|||
}
|
||||
|
||||
cmd.RunE = func(cmd *cobra.Command, args []string) error {
|
||||
// os.ReadFile()
|
||||
|
||||
// // Load embedded schema descriptions.
|
||||
// docs, err := schema.LoadBundleDescriptions()
|
||||
// if err != nil {
|
||||
|
|
Loading…
Reference in New Issue