-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace GNU-specific commands with more portable alternatives (#682)
* Remove -i from sed invocation for compatibility * Improve cross platform compatibility for make_new_lint.sh - Replace grep -z (GNU-only) with an equivalent awk invocation. - Replace sed -i (option behaves differently on Mac vs GNU) with tmpfile - Replace sed -z (GNU-only). New lints are prepended instead of appended * Update Contributing guide requirements The contributor-facing scripts (make_new_lint, make_test_crate, regenerate_test_rustdocs) no longer have any dependencies on GNU-only command line tools, so those have been removed from the guide. * Update scripts/make_new_lint.sh --------- Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
- Loading branch information
1 parent
781abd0
commit e0d61c7
Showing
3 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters