diff --git a/.codegen.json b/.codegen.json index 61a2fe851..dd76c1241 100644 --- a/.codegen.json +++ b/.codegen.json @@ -11,10 +11,10 @@ "toolchain": { "required": ["go"], "post_generate": [ - "go run ./bundle/internal/schema/*.go ./cmd/bundle/_generated/jsonschema.json", + "go run ./bundle/internal/schema/*.go ./bundle/internal/schema/generated/jsonschema.json", "echo 'bundle/internal/tf/schema/\\*.go linguist-generated=true' >> ./.gitattributes", "echo 'go.sum linguist-generated=true' >> ./.gitattributes", - "echo 'cmd/bundle/_generated linguist-generated=true' >> ./.gitattributes" + "echo 'bundle/internal/schema/generated/jsonschema.json linguist-generated=true' >> ./.gitattributes" ] } } diff --git a/.gitattributes b/.gitattributes index d77729c10..766bf2fc8 100755 --- a/.gitattributes +++ b/.gitattributes @@ -120,4 +120,4 @@ cmd/workspace/workspace-conf/workspace-conf.go linguist-generated=true cmd/workspace/workspace/workspace.go linguist-generated=true bundle/internal/tf/schema/\*.go linguist-generated=true go.sum linguist-generated=true -cmd/bundle/_generated linguist-generated=true +bundle/internal/schema/generated/jsonschema.json linguist-generated=true diff --git a/cmd/bundle/_generated/jsonschema.json b/bundle/internal/schema/generated/jsonschema.json similarity index 100% rename from cmd/bundle/_generated/jsonschema.json rename to bundle/internal/schema/generated/jsonschema.json