-
-
Save takahirom/e6aa7202e245ba5a74f8 to your computer and use it in GitHub Desktop.
jardiff command generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ls -F | grep /|awk ' | |
BEGIN{libraryPrefix="support-v4-"} | |
NR%2==1 {a=$0;sub("/","",a)} | |
NR%2==0 {b=$1;sub("/","",b)} | |
NR%2==0{print "jardiff.py " a "/" libraryPrefix a ".aar " b "/" libraryPrefix b ".aar > "a"-"b".patch"} | |
NR%2==1&&length(b)!=0{print "jardiff.py " b "/" libraryPrefix b".aar " a "/" libraryPrefix a ".aar > "b"-"a".patch"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment