Skip to content

Commit

Permalink
Update byrdocs-cli formula to version 0.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 22, 2024
1 parent 84fe326 commit 13d0b1a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions byrdocs-cli.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
class ByrdocsCli < Formula
include Language::Python::Virtualenv

desc "Shiny new formula"
desc "Command-line tool for uploading files to byrdocs.org"
homepage "https://github.com/byrdocs/byrdocs-cli"
license "MIT"

url "https://files.pythonhosted.org/packages/66/37/429a8f524b9e23ed21cbef32fe7d6f20e4a24fdec22b4b2df8de473d2a70/byrdocs_cli-0.5.3.tar.gz"
sha256 "7413f94f900db6a37ecd400376472c3622dad07fcbd2c2585446685dafa877d9"

depends_on "python3"
depends_on "[email protected]"

resource "argcomplete" do
url "https://files.pythonhosted.org/packages/5f/39/27605e133e7f4bb0c8e48c9a6b87101515e3446003e0442761f6a02ac35e/argcomplete-3.5.1.tar.gz"
Expand Down Expand Up @@ -109,11 +111,12 @@ class ByrdocsCli < Formula
end

def install
virtualenv_create(libexec, "python3")
virtualenv_create(libexec, "python3.10")
virtualenv_install_with_resources
end

test do
false
expect = "usage: byrdocs [-h] [--token TOKEN] [--manually] [command] [file]"
assert_match expect, pipe_output("#{bin}/byrdocs --help 2>&1")
end
end

0 comments on commit 13d0b1a

Please sign in to comment.