mirror of
https://github.com/zhigang1992/synx.git
synced 2026-01-12 22:52:53 +08:00
marklarr/forward_slashes_in_groups
A command-line tool that reorganizes your Xcode project folder to match your Xcode groups.
Xcode
Finder
Installation
$ gem install synx
Usage
Basic
WARNING: Make sure that your project is backed up through source control before doing anything
Execute the command on your project to have it reorganize the files on the file system:
$ synx path/to/my/project.xcodeproj
It may have confused cocoapods. Pod install, if you use them:
$ pod install
You're good to go!
Advanced
Synx supports the following options:
--prune, -p remove source files and image resources that are not referenced by the the xcode project
--no-default-exclusions doesn't use the default exclusions of /Libraries, /Frameworks, and /Products
--exclusion, -e EXCLUSION ignore an Xcode group while syncing
OCMock, for example, could have done:
$ synx -p -e "/OCMock/Core Mocks" -e /OCMockTests Source/OCMock.xcodeproj/
if they wanted to not sync the /OCMock/Core Mocks and /OCMockTests groups, and also remove (-p) any image/source files found by synx that weren't ever referenced by any groups in Xcode.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- @vrjbndr, awesome logo!
- @ayanonagon and @benzguo, feedback.
Description
Languages
Ruby
91.7%
Objective-C
8.3%



