Last active
November 22, 2019 19:10
-
-
Save kylefritz/2159e6c1c8d6fb4971a5cc0e43497d01 to your computer and use it in GitHub Desktop.
run command `arc lint` on each file changed in a branch
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
git diff -z --name-only master | xargs -0 -I FILE_PATH arc lint FILE_PATH | |
# -z delimits files with null character | |
# -0 gobbls the null character | |
# -I ANYTHING declares ANYTHING as the replacement token (to be filled with 1 file name) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment