-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade muPDF to version 1.22.0 #44
Upgrade muPDF to version 1.22.0 #44
Conversation
@@ -9,8 +9,25 @@ buildscript { | |||
/*DJVU CHAIN*/ | |||
task downloadDjvu { | |||
doLast { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you put new exec instuction in doLast
and kept
exec {
workingDir file(djvu)
commandLine = ['git', 'checkout', '32ff0948c5bc27c0b7507dba90e726fc941fcc42'/*current master*/]
}
out of it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I am trying to handle the edge case if we are trying to checkout the commit later then the one known by currently checked out repository. So we first move HEAD by fetching the latest master and then switching to the pinned commit. So we either clone or fetch master before switching to detached HEAD.
@nickolay168 I've merged part of this request in 8a4a011 There are still some question above for remaining part |
313198b
to
8e185e4
Compare
@nickolay168, @nick863 Thank you! Merged manually with small changes |
I have made some minor changes to Orion Viewer to upgrade muPDF.