Created
September 6, 2013 01:32
-
-
Save andrewsardone/6458455 to your computer and use it in GitHub Desktop.
script/sort-xcodeproj for handy Xcode project organization
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 | |
# | |
# Usage: script/sort-xcodeproj to sort all root-level Xcode projects. | |
# This helps keep the Xcode project layout neat and consistent while | |
# aiding in the prevention of [merge conflicts][mc]. | |
# | |
# [mc]: http://danieltull.co.uk/blog/2013/09/05/easier-merging-of-xcode-project-files/ | |
SCRIPT_DIR=$(dirname "$0") | |
cd "$SCRIPT_DIR/.." | |
perl Vendor/sort-Xcode-project-file *.xcodeproj/project.pbxproj |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment