RubyGems Navigation menu

xcode-yamlizer 0.0.1

# XcodeYamlizer [XCode's](http://stackoverflow.com/questions/2004135/how-to-merge-conflicts-file-project-pbxproj-in-xcode-use-svn) [formats](http://stackoverflow.com/questions/4022362/merging-xcode-project-files) [are](https://discussions.apple.com/thread/3081125?start=0&tstart=0) [shitty](http://stackoverflow.com/questions/10552082/finding-the-error-in-xcodes-project-pbxproj-after-merge) They are pain to merge and are impossible to read. YAML is pretty. Imagine a brave new world with XCode's `nib`s, model files, storyboards, project files - all in YAML. Thats what that project do! You can see how pretty it looks on Github in this sample repo. ## Installation Install XcodeYamlizer with: $ gem install xcode-yamlizer ## Usage ### Git hooks The best and recommended way is to install `pre-commit` and `post-merge` hook. You can do that from your project's working directory: $ xcode-yamlize install Then, before commit, `pre-commit` hook will: # find all obscure `.xib`s, `.xcdatamodel`s, project files, etc. # create appropriate YAML files with the same name + `.yaml` extension # add them to commit (if necessary) # add all obscure files to `.gitignore` (if necessary) # remove all obscure files from git (if necessary) (but will leave them be in file system) After merge, `post-merge` hook will: # copy all obscure files to the same name + `~` postfix # overrite all obscure files from the version controlled `yaml`es. ### Standalone ``` $ xcode-yamlizer options: -input (-i) convert file (autodetects direction) -dir (-d) convert directory (default direction - from XCode to YAML) -to_xcode direction: from YAML to XCode format -verbose verbose mode -help (-h) show help ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.4 - January 07, 2013 (8.5 KB)
  2. 0.0.3 - January 06, 2013 (8.5 KB)
  3. 0.0.2 - January 06, 2013 (8.5 KB)
  4. 0.0.1 - January 06, 2013 (9.5 KB)

Runtime Dependencies (6):

Owners:

Authors:

  • Sergey Klimov

SHA 256 checksum:

67026845944719debbd2dbad23a87ffb62d4c5eb517929f6545fc81cafc471f8

Total downloads 12,157

For this version 2,757

Licenses:

N/A

Required Ruby Version: None

Links: