Skip to content

ne-sachirou/diff-with-json

Repository files navigation

diff-with-json

diff with JSON structure.

Build Status

Installation

Pre-requiments

Download a binary

Download a binary from releases and put it into PATH.

Build from source

git clone --depth=1 [email protected]:ne-sachirou/diff-with-json.git
cd diff-with-json
make build install

Usage

diff-with-json [OPTIONS] FILES...

	diff with JSON structure.

Example:
	diff-with-json -L a.json -L b.json /tmp/a /tmp/b

Options:
    -u, --unified                    
    -L LABEL, --label=LABEL          Use LABEL instead of file name.
    -h, --help                       Output this help.

Tips: Use with SVN. svn diff --diff-cmd diff-with-json

Development

Pre-requiments

Building for Linux

Building for Mac OS X

  • Mac OS X
  • Xcode Command Line Tool

Tests

Run make test before commit.

Editing README

Please Edit src/README.md.ecr then make build.

Contributing

  1. Fork it ( https://github.com/ne-sachirou/diff-with-json/fork )
  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 a new Pull Request

Contributors