Created
March 15, 2020 17:08
-
-
Save 0xLeif/ea16a6999bd32f2366c4af5973e7fa21 to your computer and use it in GitHub Desktop.
Format All Swift Files in a Project
This file contains hidden or 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
find -path "./.*" -prune -o -name "*.swift" | grep -i ".swift" | xargs swift format -in-place |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment