Skip to content
Open
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
5 changes: 5 additions & 0 deletions website/docs/plugins/buildfile.md

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what the hell ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My mistake — I pre-base64-encoded the file content before sending it through the file-update API, which already does that encoding itself, so the first commit landed the literal base64 string as the file body instead of the markdown. Fixed in 8c9ba0b: the diff is now just the intended one-paragraph addition to the load() section. Sorry for the noise.


Generated by Claude Code

Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,8 @@ load("//build/defs:go.star", "go_service")

go_service(name = "api")
```

The path argument follows the same rules as `file()`/`glob()` above: `//pkg/...`
is workspace-root-relative, `./`/`../` is resolved against the current package,
and a path whose `..` segments would resolve outside the workspace root is an
error rather than being followed.
Loading