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

Setup brew install scorpion #13

Open
brettwilcox opened this issue Sep 17, 2020 · 1 comment
Open

Setup brew install scorpion #13

brettwilcox opened this issue Sep 17, 2020 · 1 comment
Assignees

Comments

@brettwilcox
Copy link
Member

brettwilcox commented Sep 17, 2020

There is no scorpion namespace reserved for the brew community. I would like to reserve the scorpion namespace for the scorpion.io CLI.

@brettwilcox brettwilcox self-assigned this Sep 17, 2020
@brettwilcox brettwilcox changed the title Setup brew install scorpion Setup brew install scorpion Sep 17, 2020
@brettwilcox
Copy link
Member Author

Following this guide: https://docs.brew.sh/How-To-Open-a-Homebrew-Pull-Request

I was able to produce the following formula.

class Scorpion < Formula
  desc "Command line interface for the scorpion.io project written in rust."
  homepage "https://scorpion.io"
  url "https://github.com/scorpion/cli/archive/v0.1.3.tar.gz"
  sha256 "1a84500c0e6310d1e124312592b9eb3f4b0180cc7322af00657c9684daaa25a4"
  license "Apache-2.0"

  depends_on "rust" => :build

  def install
    system "cargo", "install", *std_cargo_args
  end

  test do
    system "false"
  end
end

Now we wait on the repo to become notable enough.

❯ brew audit --new-formula scorpion
scorpion:
  * GitHub repository not notable enough (<30 forks, <30 watchers and <75 stars)
Error: 1 problem in 1 formula detected

@brettwilcox brettwilcox pinned this issue Sep 18, 2020
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

No branches or pull requests

1 participant