Skip to content

Commit

Permalink
nq 1.0
Browse files Browse the repository at this point in the history
autobump: add nq

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Jul 6, 2024
1 parent 91c12da commit 770eee9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,7 @@ notcurses
nox
npm-check-updates
npth
nq
ns-3
nsd
nsq
Expand Down
8 changes: 4 additions & 4 deletions Formula/n/nq.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Nq < Formula
desc "Unix command-line queue utility"
homepage "https://github.com/leahneukirchen/nq"
url "https://github.com/leahneukirchen/nq/archive/refs/tags/v0.5.tar.gz"
sha256 "3f01aaf0b8eee4f5080ed1cd71887cb6485d366257d4cf5470878da2b734b030"
url "https://github.com/leahneukirchen/nq/archive/refs/tags/v1.0.tar.gz"
sha256 "d5b79a488a88f4e4d04184efa0bc116929baf9b34617af70d8debfb37f7431f4"
license "CC0-1.0"
head "https://github.com/leahneukirchen/nq.git", branch: "master"

Expand All @@ -24,8 +24,8 @@ def install
end

test do
system "#{bin}/nq", "touch", "TEST"
assert_match "exited with status 0", shell_output("#{bin}/fq -a")
system bin/"nq", "touch", "TEST"
assert_match "exited with status 0", shell_output("#{bin}/nqtail -a 2>&1")
assert_predicate testpath/"TEST", :exist?
end
end

0 comments on commit 770eee9

Please sign in to comment.