Created
September 6, 2021 14:43
-
-
Save karanssh/142a184afea767e03787de844eaed0e2 to your computer and use it in GitHub Desktop.
Append some command to end of multiple Makefiles
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
#!/bin/bash | |
for file in $(find . -maxdepth 2 -name "Makefile" ); do | |
echo Processing $file | |
echo >> $file | |
echo "lint-check: | |
# no lint tests yet" >> $file | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment