Skip to content

Manage the goimports and pigeon commands as Go tool dependencies#5763

Merged
nwt merged 1 commit intomainfrom
go-tool-goimports-and-pigeon
Apr 3, 2025
Merged

Manage the goimports and pigeon commands as Go tool dependencies#5763
nwt merged 1 commit intomainfrom
go-tool-goimports-and-pigeon

Conversation

@nwt
Copy link
Copy Markdown
Member

@nwt nwt commented Apr 3, 2025

This moves the goimports and pigeon command version specifications from compiler/parser/Makefile to go.mod, moves the invocation of those commands to Makefile, and removes compiler/parser/Makefile.

To force rebuilding of the PEG parser, run "make -B peg" instead of "make -C compiler/parser". (The latter no longer works because compiler/parser/Makefile no longer exists.)

This moves the goimports and pigeon command version specifications from
compiler/parser/Makefile to go.mod, moves the invocation of those
commands to Makefile, and removes compiler/parser/Makefile.

To force rebuilding of the PEG parser, run "make -B peg" instead of
"make -C compiler/parser".  (The latter no longer works because
compiler/parser/Makefile no longer exists.)
@nwt nwt requested a review from a team April 3, 2025 18:49
Copy link
Copy Markdown
Collaborator

@mattnibs mattnibs left a comment

Choose a reason for hiding this comment

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

Lovely!

@nwt nwt merged commit 5e9b72f into main Apr 3, 2025
3 checks passed
@nwt nwt deleted the go-tool-goimports-and-pigeon branch April 3, 2025 18:54
nwt added a commit that referenced this pull request Sep 3, 2025
That directory hasn't been used since #5763.
nwt added a commit that referenced this pull request Sep 4, 2025
That directory hasn't been used since #5763.
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.

2 participants