Skip to content

Tighten Makefile parsing and follow Gradle's two-pass wrapper upgrade#93

Open
pambrose wants to merge 5 commits into
masterfrom
makefile-tweaks
Open

Tighten Makefile parsing and follow Gradle's two-pass wrapper upgrade#93
pambrose wants to merge 5 commits into
masterfrom
makefile-tweaks

Conversation

@pambrose
Copy link
Copy Markdown
Contributor

Summary

  • Simplify VERSION / GRADLE_VERSION extraction to single sed expressions instead of grep | cut and grep | sed
  • Refine the help target output (new Usage: header, looser identifier regex, inlined $(MAKEFILE_LIST))
  • Run ./gradlew wrapper twice in upgrade-wrapper per Gradle's documented two-pass procedure, with a comment explaining why

Test plan

  • make help renders the expected target list
  • make versioncheck reports the correct VERSION and GRADLE_VERSION
  • make upgrade-wrapper regenerates gradle-wrapper.jar for the catalog version

🤖 Generated with Claude Code

pambrose and others added 5 commits May 15, 2026 09:17
Switch VERSION and GRADLE_VERSION extraction to sed for simpler parsing,
tighten the help target formatting, and invoke ./gradlew wrapper twice in
upgrade-wrapper per Gradle's documented two-pass upgrade procedure.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Renames the `gradle` key in libs.versions.toml to `gradle-wrapper` and
updates the Makefile sed pattern that derives GRADLE_VERSION from it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

1 participant