Skip to content

A shell tool to diff two files based with algorithm Myers.

Notifications You must be signed in to change notification settings

ZiheLiu/myers-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myers-diff

Build Status

A shell tool to diff two files based with algorithm Myers. Here is the brief note of Myers.

Sample

old file

old file

new file

new file

diff

new file

Dependencies

  • maven > 3.0
  • java > 8.0

Usages

# copy pre-commit to ./.git/hooks
$ bash install.sh
# install dependencies
$ mvn install

# test
$ mvn test
# clean ./target
$ mvn clean
# package source code to ./target/project-name.jar
$ mvn package
# run the jar package. 
# First argument is old file.
# Seoncd argument is new file.
$ java -jar target/myers-diff-0.0.1.jar ./static/old ./static/new

About

A shell tool to diff two files based with algorithm Myers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published