Skip to content

Conversation

aherrmann
Copy link
Owner

Closes #27

Creates a single executable target for all needed update steps.
Requires the multirun rule set.
Moves Gazelle into //util.
Moves all_files into //util and defines a Bazel target for it.
Adds a test to the CI setup that all generate files are up-to-date.

An added advantage is that downstream users inadverntantly loading
`//:__pkg__` don't incur a dependency on Gazelle. That should not happen
during regular usage, but can happen when users query `@rules_zig`, e.g.
for debugging purposes. The dependency on Gazelle can lead to confusing
error messages instead of useful output.
@aherrmann aherrmann merged commit b2481d7 into main Feb 16, 2023
@aherrmann aherrmann deleted the update-command branch February 16, 2023 19:14
@aherrmann aherrmann changed the title Test generated files on CI ci: test that generated files are up-to-date Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unify the needed update steps in one place and test on CI
1 participant