You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Implement all PR review suggestions for Homebrew formula
Addressed three additional suggestions from AI PR reviewer:
1. **Use libexec for mfc.sh** (Importance: 9)
- Changed from prefix.install to libexec.install for mfc.sh
- Updated wrapper to reference #{libexec}/mfc.sh
- Follows Homebrew best practices for executable scripts
2. **Remove hardcoded compiler variables** (Importance: 7)
- Removed ENV["FC"], ENV["CC"], ENV["CXX"] settings
- Removed ENV["BOOST_INCLUDE"] from build step
- Let Homebrew's superenv handle compiler setup via gcc dependency
- Kept BOOST_INCLUDE only in wrapper script where needed at runtime
3. **Enhanced functional testing** (Importance: 6)
- Added full toolchain test: runs actual example case
- Tests 'mfc run' with 1D_sodshocktube example
- Verifies entire workflow works end-to-end
- Updated assertions to check libexec/mfc.sh location
These changes make the formula more idiomatic and robust.
0 commit comments