eza-community / eza

A modern alternative to ls
https://eza.rocks
European Union Public License 1.2
12.67k stars 220 forks source link

feat: Provide binaries for mac #228

Open jankatins opened 1 year ago

jankatins commented 1 year ago

Currently there is no binary for mac: https://github.com/eza-community/eza/releases/tag/v0.11.0

image

Would it be possible to create one, e.g. via some github action which is triggered by a release? E.g. using the one from rye: https://github.com/mitsuhiko/rye/blob/main/.github/workflows/release.yml (which creates a draft release upon a new tag and uploads all relevant binaries and fills in the changelog into the release description and publishes the release; draft -> changelog -> publish., so the release email contains the changelog)

jankatins commented 1 year ago

(if you indicate that you would accept a PR for this kind of github action, I can copy and adjust the rye workflow... :-))

cafkafk commented 1 year ago

We probably wouldn't accept introducing a workflow to do this, the change would have to happen in https://github.com/eza-community/eza/blob/ef4e3a435eeaff138578857d67dd5f212aeecafc/Justfile#L116

If no one does this before me, I'll eventually look into it.

thelastnode commented 1 year ago

It looks like cross is unable to provide images for macOS for licensing reasons. Not sure if that tips the scales in favor of using a workflow (similar to ripgrep, or rye mentioned above)!

wmcnamee-coreweave commented 7 months ago

I suppose it's worthwhile to bump this issue. I use ASDF to install/manage many of my tools, and I'm unable to install eza on mac due to no darwin binary published on the release page.

sirenkovladd commented 6 months ago

@wmcnamee-coreweave, as a workaround, asdf-eza now gets the binary from the https://github.com/cargo-bins/cargo-quickinstall repository, and you can use this plugin for macos on arm architecture

jimeh commented 1 month ago

Has there been any more movement on this recently?

While the asdf plugin and quickinstall workarounds are nice, I think it would still be nice for the official repo to provide binaries for macOS.

cafkafk commented 1 month ago

nothing has changed yet :)

Lilja commented 1 week ago

Would eza maintainers accept a PR using this github action to automate creating releases? I've used it in a project of my own for a rust github release.

cafkafk commented 6 days ago

probably not no