4 ms·
And those on Mac should be able to use: $ brew install c Wow, uh, didn't it strike you that this might be a bad idea?
by redbad 14y ago
And those on Mac should be able to use:
$ brew install c
Wow, uh, didn't it strike you that this might be a bad idea?
- sharth 14y agoAs far as I can tell, this program is not included in Homebrew.
- Jonovono 14y agohmm. It should be. You may just have to run brew update? It wasn't added very long ago so you may not see it if brew has not been updated. If it still doesn't work then not sure.
- mjschultz 14y agoAre you sure you committed it to the homebrew repository on github? Your github page doesn't show any activity that indicates you've forked the homebrew repo or created a pull request in the past 14 days (since you made the "c" repo). Even so, based on the general rules for homebrew inclusion they would reject the formula because: 1. I don't think they like names that have the potential to conflict with others ("c" is in that category). The shortest name I see in their repo is two chars. 2. Typically they only want widely used formulas ("We generally frown on authors submitting their own work unless it is suitably notable." [1]). [1] https://github.com/mxcl/homebrew/wiki/Acceptable-Formula https://github.com/mxcl/homebrew/wiki/Acceptable-Formula
- Jonovono 14y agohmm interesting. I just followed the instructions on http://mxcl.github.com/homebrew/ http://mxcl.github.com/homebrew/ and when I run brew install c in my terminal it says "Error: c-1.0.0 already installed". But if it is not a formula they would want then I guess I should not be too worried.
- mjschultz 14y agoThat just means you have a local formula that knows how to build and install c, but you have not shared it with the community so no one else will have access to the formula. You'd need to fork, push to your fork, and create a pull request to the main homebrew repo to try for inclusion. Also, it is only my hunch that they wouldn't accept the formula--you can still try. I'd still rename the project to be more descriptive (dir-c?) as there are only two homebrew formulae that have single char names (R, which has been around since 1993 and Z, which I'm surprised got included).
- Jonovono 14y agoAhhh, makes sense. Thanks. I'll fix it up and maybe try submitting it.
- Jonovono 14y agoha, no, afraid it didn't. I have installed other programs from brew that were one character. But I plan to rename it just to comment and then provide instructions on how to alias it to c if one would wish. Thanks for warning.