用google-diff-match-patch生成patch文件
https://code.google.com/archive/p/google-diff-match-patch/
usage
npm install google-patch
google-patch oldFilePath newFilePath patchPath
// example: google-patch file1 file2
oldFilePath 旧文件路径
newFilePath 新文件路径
patchPath patch路径(非必填,如不填,默认在本目录下生成patch文件