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

feat: support for Linux-homebrew installation #5085

Closed
wants to merge 2 commits into from
Closed

Conversation

stefreak
Copy link
Member

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes garden-io/homebrew-garden#2

Special notes for your reviewer:

10ko pushed a commit to garden-io/homebrew-garden that referenced this pull request Sep 13, 2023
This is just a test. DO NOT MERGE

You can safely close this PR. This is a test PR created by garden-io/garden#5085

@stefreak Please close this pull request.
@stefreak stefreak requested a review from TimBeyer September 13, 2023 11:37
@stefreak stefreak marked this pull request as draft September 13, 2023 12:31
url "{{macosAmdTarballUrl}}"
sha256 "{{macosAmdSha256}}"
end
end

def install
libexec.install "garden", "fsevents.node", "static"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formula doesn't work on linux, I am getting a weird error:

steffen@lima-default:~$ brew install garden-cli
Running `brew update --auto-update`...
==> Fetching garden-io/garden/garden-cli
==> Downloading https://download.garden.io/core/0.13.13/garden-0.13.13-linux-amd64.tar.gz
Already downloaded: /home/steffen.linux/.cache/Homebrew/downloads/f852a6a846822bbdd4f0f27cb714d1d92ed7f36400a52f3a54cb61178e746b06--garden-0.13.13-linux-amd64.tar.gz
==> Installing garden-cli from garden-io/garden
Error: The following formula cannot be installed from bottle and must be
built from source.
  garden-cli
Install Clang or run `brew install gcc`.

When debugging I noticed that the linux archive does not contain an fsevents.node file, but even if I do not copy that file I still get this error. I got stuck there and gave up for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support linux brew
2 participants