-
Notifications
You must be signed in to change notification settings - Fork 43
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
chore: add homebrew recipe #13
Comments
That would be great! |
@cburgdorf we have two different approaches here:
I have a branch with some advances: https://github.com/cchacin/homebrew/tree/clog require "formula"
class Clog < Formula
homepage "https://github.com/thoughtram/clog"
url "http://blog.thoughtram.io/clog/0.2.0/clog"
version "0.2.0"
sha1 "5087032012bb92d7652059d7693e3df5c1833ac0"
def install
# Install files
libexec.install Dir["*"]
bin.install_symlink "#{libexec}/clog" => "clog"
end
def caveats; <<-EOS.undent
Usage:
clog [--repository=<link> --setversion=<version> --subtitle=<subtitle>
--from=<from> --to=<to> --from-latest-tag]
Options:
-h --help Show this screen.
--version Show version
-r --repository=<link> e.g https://github.com/thoughtram/clog
--setversion=<version> e.g. 0.1.0
--subtitle=<subtitle> e.g. crazy-release-name
--from=<from> e.g. 12a8546
--to=<to> e.g. 8057684
--from-latest-tag uses the latest tag as starting point. Ignores other --from parameter
EOS
end
test do
system "#{bin}/clog -h | grep #{version}"
end
end what do you think? |
PR in homebrew-binary https://github.com/Homebrew/homebrew-binary/pull/153 |
Looks good for now. We are still lacking a robust approach for generating the binaries. My plan is to generate binaries for all platforms and directly upload them somewhere without any manual work. But this seems to be especially tricky for windows. Anyway, when this happens we could just change the formula to fetch the binary from somewhere else. |
Now that clog is on crates.io I wonder if we can revisit this issue? Will it be easier to come up with a formula now? |
I've put up two pre-compiled binaries (OS X and Linux) on a VPS. I've got 1TB of transfer, so I don't mind hosting it there until I chew through that bandwidth. http://wod.twentyfives.net/bin/clog/clog-v0.7.0_osx-x64.tar.gz If someone wants to make a |
Also just added a windows binary http://wod.twentyfives.net/bin/clog/clog-v0.7.0_windows-x64.zip Which should take care of #12 |
Yay, your hosted linux binaries just saved my ass 👍 |
👍 |
+1 |
Now that There is also cargo-brew which I believe is a |
homebrew is still very much relevant to keeping a binary up to date :) Hope this issue will get some attention soon :) |
I don't have experience on that but I'll do my best try
The text was updated successfully, but these errors were encountered: