Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}"
Expand Down Expand Up @@ -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
Expand Down
Loading