-
Notifications
You must be signed in to change notification settings - Fork 148
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
Explore using brew for Mac #126
Comments
I don't know of anyone working on this. I would be happy to see this, but be warned that it's a bit painful because of the dependency on haskell. It also hopefully won't be needed for long because the goal for elm-format is to merge it into Elm-Platform within the next 3 months so that it will be distributed with Elm. If you do want to look at this, here's a start that might help get haskell compilation working:
|
I put this together with a little of help of what @avh4 posted above. enilsen16/homebrew@85f95f8 I am not sure homebrew will accept this formula until a stable version is released but I will try anyway. https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Acceptable-Formulae.md#stable-versions |
If this is to become part of Elm Platform in the foreseeable future, there's no need to bother with Homebrew. |
@avh4 what about the plans to move elm-format to the elm-platform? |
As mentioned in #84 it seems that brew support is partially working:
After running that I got two elm-formats:
The only thing left to do was creating a symbolic link:
|
I just came here after using the formula as it seems to install 3 versions but link none. The formula should only install the latest version. If other versions are needed there should be secondary formulas to those version. Is there a reason for 3 version to be installed automatically and none be linked? |
An elm-format formula exists for brew so I think this issue can be closed. I have been using it for several years without issue (except for the lack of apple silicon support as discussed in #723 (comment)). |
Is anyone planning on writing a brew formula for this? Otherwise I could give it a try.
The text was updated successfully, but these errors were encountered: