-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Conversation
You don't need to close and submit a new pull request if you want to make a change to it. You can just force-push to the same branch on Github and it'll update automatically. |
@mistydemeo I know, but the other pull request (#18150) isn’t mine, so that wouldn’t work. But thank you all the same :) |
Sorry, I somehow missed that the other pull request from you was in homebrew/headonly. |
|
||
class Zopfli < Formula | ||
homepage 'https://code.google.com/p/zopfli/' | ||
version '1.0.0' |
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.
No need for an explicit version, this is detected from the URL.
Thanks for the quick review, @mistydemeo! I’ve amended my commit. |
Done. Force-pushed the amended commit. |
end | ||
|
||
test do | ||
system '#{bin}/zopfli' |
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.
Single quotes don't get string interpolation - need to use double quotes here.
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.
Thanks 😊 Amended.
Great! If you could report that to the author that would be great. It would be best if it did something like this: diff --git a/makefile b/makefile
index 7e3272c..4d5488c 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,7 @@
+CC := gcc
+
make:
- gcc src/zopfli/*.c -O2 -W -Wall -Wextra -ansi -pedantic -lm -o zopfli
+ $(CC) src/zopfli/*.c -O2 -W -Wall -Wextra -ansi -pedantic -lm -o zopfli
debug:
- gcc src/zopfli/*.c -g3 -lm -o zopfli
+ $(CC) src/zopfli/*.c -g3 -lm -o zopfli So that we could specify our CC on the commandline. |
Will do. Thank you so much for your patience and the many helpful comments! Update: Done here. |
Pulled, thanks! |
woo hoo! \o/ |
@mistydemeo Zopfli’s makefile has been updated: https://code.google.com/p/zopfli/source/browse/makefile There are now |
Looks good! We can make use of those when the next release is out. Thanks for taking this up with the author, I appreciate it. |
Okay, I’ll ask the author to bump the version number and will update the Homebrew formula as soon as that happens. Thanks so much for the guidance, @mistydemeo! |
Closes Homebrew#18150 and Homebrew#19435. Signed-off-by: Mathias Bynens <mathias@qiwi.be> Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This deprecates #18150 (and https://github.com/Homebrew/homebrew-headonly/pull/9).