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

Add to package repositories for easy instllation #8

Open
alexchantastic opened this issue Mar 29, 2024 · 1 comment
Open

Add to package repositories for easy instllation #8

alexchantastic opened this issue Mar 29, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@alexchantastic
Copy link
Owner

  • homebrew
  • macports
  • chocolatey
  • apt
@alexchantastic alexchantastic added the enhancement New feature or request label Mar 29, 2024
@alexchantastic alexchantastic self-assigned this Mar 29, 2024
@danielbayley
Copy link

@alexchantastic Working formula:

class LipsumShell < Formula
  desc "A shell script to generate lorem ipsum dummy text"
  repo = "https://github.com/alexchantastic/lipsum-shell"
  homepage "#{repo}#readme"
  url "#{repo}/archive/refs/tags/v2.0.0.tar.gz"
  sha256 "3bfa7f639ddd79cb0f7b38d5d3d72b46a72e74e27def2d08130a62b90b961cae"
  license "MIT"

  def install
    doc.install_metafiles
    bin.install "lipsum.sh" => "lipsum"
  end

  test do
    latin = shell_output bin/"lipsum words 2"
    assert_match /^\w+\s+\w+$/, latin
  end
end

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

No branches or pull requests

2 participants