GithubHelp home page GithubHelp logo

Homebrew Formula about cli HOT 9 CLOSED

fuadsaud avatar fuadsaud commented on September 26, 2024
Homebrew Formula

from cli.

Comments (9)

kytrinyx avatar kytrinyx commented on September 26, 2024

+1000

I'll start looking into this.

from cli.

kytrinyx avatar kytrinyx commented on September 26, 2024

A few things suggest that this is not going to fly:

  1. They won't include a binary-only install: Homebrew/legacy-homebrew#24469
  2. If we do a full install that includes building the thing, they need to install go, which is just a huge and unnecessary dependency.
  3. They frown on authors submitting their own stuff, so they're unlikely to accept a pull request from me.

I think it would be far easier to do something like what http://pow.cx does - a simple install script that can be piped directly through sh.

$ curl cli.exercism.io/install | sh

What do you think?

from cli.

fuadsaud avatar fuadsaud commented on September 26, 2024

They had the same problem with ngrok (I'm on the phone, will try to post link later). They decided to just bottle it (binary install) to avoid installing go. Whay happens is that uou have to tap a difderent repository to get access to bottled builds. I would still try going this way, cause I think having homebrew install is a huge win on usability field, but I'm cool with an install script (that would help people using different os'es and linux flavours too).—
Sent from Mailbox for iPhone

On Wed, Dec 25, 2013 at 6:40 PM, Katrina Owen [email protected]
wrote:

A few things suggest that this is not going to fly:

  1. They won't include a binary-only install: Homebrew/legacy-homebrew#24469
  2. If we do a full install that includes building the thing, they need to install go, which is just a huge and unnecessary dependency.
  3. They frown on authors submitting their own stuff, so they're unlikely to accept a pull request from me.
    I think it would be far easier to do something like what http://pow.cx does - a simple install script that can be piped directly through sh.
$ curl cli.exercism.io/install | sh

What do you think?

Reply to this email directly or view it on GitHub:
#32 (comment)

from cli.

kytrinyx avatar kytrinyx commented on September 26, 2024

I put in a pull request for the homebrew binary tap:

https://github.com/Homebrew/homebrew-binary/pull/38

And I wrote a first attempt at an install script that would work on linux and mac: http://cli.exercism.io/install

from cli.

fuadsaud avatar fuadsaud commented on September 26, 2024

Whoa, nice. I'm not sure about the $HOME/bin part, as I don't know if that's such a common convention, but in general it looks pretty good. Thanks!

from cli.

kytrinyx avatar kytrinyx commented on September 26, 2024

Yeah, I think the $HOME/bin thing will be replaced with an interactive prompt asking where to put it.

from cli.

Tonkpils avatar Tonkpils commented on September 26, 2024

@kytrinyx This could be closed correct? https://github.com/Homebrew/homebrew-binary/pull/81 was merged.

from cli.

kytrinyx avatar kytrinyx commented on September 26, 2024

Good catch. Yes, it's been merged.

from cli.

fuadsaud avatar fuadsaud commented on September 26, 2024

Nice, thanks.

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.