Skip to content

Commit

Permalink
barcoder
Browse files Browse the repository at this point in the history
  • Loading branch information
alexobviously committed Feb 23, 2024
1 parent b4f4649 commit 1bbccc8
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Formula/barcoder.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
class Barcoder < Formula
desc "Simple CLI barcode generator"

Check failure on line 2 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
homepage "https://github.com/goodpals/barcoder"

Check failure on line 3 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
url "https://github.com/goodpals/barcoder/archive/refs/tags/v0.0.1.tar.gz"

Check failure on line 4 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
license "APGL-3.0"

Check failure on line 5 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
head "https://github.com/goodpals/barcoder.git", branch: "main"

Check failure on line 6 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
version "0.0.1"

Check failure on line 7 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

Check failure on line 7 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

FormulaAudit/ComponentsOrder: `version` (line 7) should be put before `license` (line 5)
sha256 "e40f1210b880b26a90e9fab965790030d4e04f010676ed6c8bec05e9f9e4e4ee"

Check failure on line 8 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

depends_on "dart" => :build

Check failure on line 10 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.

def install

Check failure on line 12 in Formula/barcoder.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

Layout/IndentationWidth: Use 2 (not 4) spaces for indentation.
system "dart", "pub", "get"
system "dart", "compile", "exe", "bin/barcoder.dart", "-o", "barcoder"
bin.install "barcoder"
end

test do
assert_match "barcoder #{version}", shell_output("#{bin}/barcoder --version").strip
end
end

0 comments on commit 1bbccc8

Please sign in to comment.