Skip to content
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

brew support for mac installation? #17

Open
yohannes opened this issue Jul 20, 2020 · 9 comments
Open

brew support for mac installation? #17

yohannes opened this issue Jul 20, 2020 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@yohannes
Copy link

Hi! any plan to support mac installation via brew?

@nerdypepper
Copy link
Owner

Hiya @yohannes,

I don't have a mac, nor do I have any experience with brew, it would be great if someone could maintain a package!

@nerdypepper nerdypepper added enhancement New feature or request help wanted Extra attention is needed labels Jul 20, 2020
@aklsh
Copy link

aklsh commented Jul 20, 2020

Hey @yohannes @nerdypepper,
Found this article online to package a rust project for Homebrew. Would be happy to help maintain as a brew package.

@yohannes
Copy link
Author

@aklsh that will be awesome. 🎉

@nerdypepper
Copy link
Owner

@aklsh Sounds great! I suppose I would have to compile for darwin and publish binaries with each release.

@rebebop
Copy link

rebebop commented Jul 21, 2020

@nerdypepper I think you can automate the entire process using github actions as they support macOS environments. This would also solve the issue for building against darwin since you don't have a mac at hand.

@kevinstadler
Copy link

The following did it for me on OSX 10.13:

$ brew install rust
$ rustup-init (confirm defaults by pressing [Enter])
$ cargo install dijo

@nerdypepper
Copy link
Owner

@aklsh @razagill as of v0.2.0, binary releases for darwin are published to GitHub Releases.

@yohannes
Copy link
Author

@nerdypepper it seems the darwin release is absent of a file extension. Is this expected?

@nerdypepper
Copy link
Owner

@yohannes the file extension doesn't matter really, you can execute it with ./dijo-x86_64-apple at a shell, or move it into your path (rename to dijo) and execute with dijo from anywhere.

I am not too familiar with macOS, their .app format, and that format's ubiquity, do let me know if improvements can me made!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants