<commit_before># XCoder

A ruby wrapper around various xcode tools and the project.pbxproj

## Example Usage

You will need to install the gem:

`gem install xcoder`

and then require the gem in your project/rakefile/etc

`require 'xcoder'`

### Finding all projects from the current directory down

`Xcode.find_projects.each {|p| puts p.name }`

### Find a configuration for a target on a project

`
project = Xcode.find_projects.first
config = project.target(:Target).config(:Debug)
`

### Building a configuration

`config.build`

### Packaging a built .app

`config.package :sign => 'Developer Identity Name', :profile => 'Profile.mobileprovision'`

### Incrementing the build number

config.info_plist do |info|
  info.version = info.version.to_i + 1
  info.save
end<commit_msg>Update formatting around code blocks<commit_after># XCoder

A ruby wrapper around various xcode tools and the project.pbxproj

## Example Usage

You will need to install the gem:

`gem install xcoder`

and then require the gem in your project/rakefile/etc

`require 'xcoder'`

### Finding all projects from the current directory down

	Xcode.find_projects.each {|p| puts p.name }
	
### Find a configuration for a target on a project

	project = Xcode.find_projects.first
	config = project.target(:Target).config(:Debug)


### Building a configuration

`config.build`

### Packaging a built .app

`config.package :sign => 'Developer Identity Name', :profile => 'Profile.mobileprovision'`

### Incrementing the build number

config.info_plist do |info|
  info.version = info.version.to_i + 1
  info.save
end
{'fraction_non_alphanumeric': 0.10075566750629723, 'fraction_numerical': 0.0012594458438287153, 'mean_word_length': 4.555944055944056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5334533', 'n_tokens_mistral': 499, 'n_tokens_neox': 477, 'n_words': 175}