diff --git a/climod/.codegen.json b/.codegen/climod/.codegen.json similarity index 100% rename from climod/.codegen.json rename to .codegen/climod/.codegen.json diff --git a/climod/.codegen/.gitattributes b/.codegen/climod/.codegen/.gitattributes similarity index 100% rename from climod/.codegen/.gitattributes rename to .codegen/climod/.codegen/.gitattributes diff --git a/climod/.codegen/_last_sha b/.codegen/climod/.codegen/_last_sha similarity index 100% rename from climod/.codegen/_last_sha rename to .codegen/climod/.codegen/_last_sha diff --git a/climod/.codegen/cli.json b/.codegen/climod/.codegen/cli.json similarity index 100% rename from climod/.codegen/cli.json rename to .codegen/climod/.codegen/cli.json diff --git a/climod/.codegen/sdk-go-field-paths.txt b/.codegen/climod/.codegen/sdk-go-field-paths.txt similarity index 100% rename from climod/.codegen/sdk-go-field-paths.txt rename to .codegen/climod/.codegen/sdk-go-field-paths.txt diff --git a/Taskfile.yml b/Taskfile.yml index 3c2f0515ce5..87734e33678 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -945,7 +945,7 @@ tasks: # version bumps (go.mod/go.sum) are a manual `go get` step beforehand; # TestConsistentDatabricksSdkVersion asserts the two stay in sync. # - # The same run refreshes climod/.codegen/ in genkit's cli-mod mode: + # The same run refreshes .codegen/climod/.codegen/ in genkit's cli-mod mode: # sdk-go-field-paths.txt maps each field of the modular Go SDK # (github.com/databricks/sdk-go) to its JSON path, and cli.json holds the same # mapping per message. That SDK's names differ from the classic SDK's, so the @@ -954,7 +954,7 @@ tasks: # No `sources:`/`generates:`: this task deliberately refreshes cli.json from # an external Universe checkout whenever it is invoked. generate-clijson: - desc: Produce .codegen/cli.json and climod/.codegen/ from their pinned Universe commit via genkit + desc: Produce .codegen/cli.json and .codegen/climod/.codegen/ from their pinned Universe commit via genkit vars: UNIVERSE_DIR: sh: echo "${UNIVERSE_DIR:-$HOME/universe}" @@ -1004,7 +1004,7 @@ tasks: echo "Generating the modular Go SDK's CLI spec..." "$BUILD_DIR/universe/bazel-bin/deco/genkit/genkit_/genkit" experimental-update-sdk \ - --dir "{{.ROOT_DIR}}/climod" \ + --dir "{{.ROOT_DIR}}/.codegen/climod" \ --descriptor-set "$BUILD_DIR/universe/bazel-bin/deco/public_proto/public_proto_sdk_go_with_source_info.pb" # The SDK-version consistency check runs here for fast feedback when # generate-clijson is invoked manually. Cleanup of genkit's output is