Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

CI Status Version License Platform

DiffMatchPatch for iOS / MacOSX

The project is a fork of google-diff-match-patch with modifications to get it to compile for iOS / MacOSX and Xcode 6.0

The speed test target and schema were removed to save time figuring out some issues but might later on.

Prerequisites

This project requires Xcode6.0 to run.

Building

Building can be done by opening the project in Xcode:

open DiffMatchPatch.xcodeproj

xcodebuild -scheme DiffMatchPatch build

xcodebuild -scheme DiffMatchPatch-OSX build

Testing

Tests can be run from with in Xcode using Product->Test menu option (CMD+U).

You can also run test from the command:

xcodebuild -scheme DiffMatchPatch -destination 'platform=iOS Simulator,name=iPhone 5s' test

xcodebuild -scheme DiffMatchPatch-OSX  test

Cocoapods

This project can be made into a CocoaPods:

First install the Cocoapods gem by running:

sudo gem install cocoapods --pre

Then you can verify that the podspec is correct:

pod spec lint DiffMatchPatch.podspec --verbose --allow-warnings

If all goes well you are ready to release. First, create a tag and push:

git tag 'version'
git push --tags

Once the tag is available you can send the library to the Specs repo. For this you'll have to follow the instructions in ["Getting Setup with Trunk"].

pod trunk push DiffMatchPatch.podspec
Morty Proxy This is a proxified and sanitized view of the page, visit original site.