-
Notifications
You must be signed in to change notification settings - Fork 78
[Improvement] Install via Homebrew #59
Comments
@bennokress That's a great idea! 👍 Homebrew has a rule that creators of a project can't submit their own work - but I'd love it if someone from the community added Marathon to Homebrew. |
Okay, I'm very busy at the moment and have no experience with creating a hombrew formula or ruby for that matter, but I'll look into it, if it isn't done by someone else in the meantime. This seems to be the tutorial, if someone is interested: Formula Cookbook |
@JohnSundell I was trying to create a
Here is the formula file :- https://gist.github.com/aksswami/2e8e800c06c5a8f385cef0b40c945ba3 We also need to the tag for version release, so that we can access Home page can be generated directly via enabling GitHub pages for Marathon repo. similar to my fork:- https://aksswami.github.io/Marathon/ (Just an example) |
@aksswami Yeah you need to point the formula to this repo, not to your fork. For homepage, you can just use Awesome that you're starting to look into this! I really appreciate it 👍 |
@JohnSundell I will complete the formula and create a PR to homebrew-core once you release the first version of Marathon. To create a homebrew formula we need to have a release, that's why I pointed to my fork for testing purpose. Looking forward to Marathon release. |
Hi, |
Ping, this one is blocked by a release of Marathon @JohnSundell - might be worth a 1.0? |
@orta @PoissonBallon @aksswami Sorry for the delay on this one - I have just released Marathon version |
Thanks John, I took a stab at the homebrew setup but will need a patch release I think to make it work, PR incoming. |
With the changes in #118 This can be submitted (with updated version + SHA) class Marathon < Formula
desc "Marathon makes it easy to write, run and manage your Swift scripts 🏃"
homepage "https://github.com/JohnSundell/Marathon"
url "https://github.com/JohnSundell/Marathon/archive/1.0.0.tar.gz"
sha256 "b6cb5ac6d765fd99e74a7b1a0e9400985ce80860ec2612d10ffbc7a75249a663"
def install
system "make", "build"
bin.install "build/Release/marathon"
end
test do
system "#{bin}/marathon", "help"
end
end |
Perfect, just merged the PR! 👍 Who wants to take this forward and submit the formula to Homebrew? 😄 |
@JohnSundell it'll need a release too 🍡 |
Of course 🤦♂️ Done ✅ |
Thanks: turns out I couldn't use the makefile stuff anyway, (swift build sandboxing with homebrew issues) - could move into the makefile as a non-sandbox'd build though |
Hrm, so the name marathon already exists inside brew/cask (the Mac .app section of homebrew) - which means that we can't submit as "marathon". Opinions on "marathon-cli" or "marathon-swift" or something like that? e.g. |
@orta bummer 😕 but I think |
@orta really awesome that you're doing this - it's gonna be a huge improvement for Marathon 👍 |
No worries will update, getting this on homebrew is a blocker on danger-swift - as I need a reasonable way to do swift system-dependencies. |
Done, and updated docs in #124 |
That is AMAZING! 🎉 Thanks a lot @orta - I'm super excited about this, huge improvement for the project! 🚀 |
Also big thanks to you @bennokress & @aksswami & everyone else who has done work on this 👍 |
I think you should have a good look once again |
I don't know how much effort it would take to make this available via homebrew, but I guess it would be easier to install, update and maintain for less experienced users.
The text was updated successfully, but these errors were encountered: