Skip to content

Commit ae591ba

Browse files
BrewTestBotchenrui333
authored andcommitted
seqkit 2.8.0
seqkit: update test Signed-off-by: Rui Chen <[email protected]>
1 parent bd99b0d commit ae591ba

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Formula/s/seqkit.rb

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Seqkit < Formula
22
desc "Cross-platform and ultrafast toolkit for FASTA/Q file manipulation in Golang"
33
homepage "https://bioinf.shenwei.me/seqkit"
4-
url "https://github.com/shenwei356/seqkit/archive/refs/tags/v2.7.0.tar.gz"
5-
sha256 "b5c723ffd4640659860fc70a71c218d8f53bea0eae571cecc98eff04c7291e02"
4+
url "https://github.com/shenwei356/seqkit/archive/refs/tags/v2.8.0.tar.gz"
5+
sha256 "260ff3d483965b15071f4632f9f9c35ca335ebebbd74aa3322ecc37a999be7fe"
66
license "MIT"
77
head "https://github.com/shenwei356/seqkit.git", branch: "master"
88

@@ -18,16 +18,16 @@ class Seqkit < Formula
1818

1919
depends_on "go" => :build
2020

21-
resource "homebrew-testdata" do
22-
url "https://raw.githubusercontent.com/shenwei356/seqkit/e37d70a7e0ca0e53d6dbd576bd70decac32aba64/tests/seqs4amplicon.fa"
23-
sha256 "b0f09da63e3c677cc698d5cdff60e2d246368263c22385937169a9a4c321178a"
24-
end
25-
2621
def install
2722
system "go", "build", *std_go_args(ldflags: "-s -w"), "./seqkit"
2823
end
2924

3025
test do
26+
resource "homebrew-testdata" do
27+
url "https://raw.githubusercontent.com/shenwei356/seqkit/e37d70a7e0ca0e53d6dbd576bd70decac32aba64/tests/seqs4amplicon.fa"
28+
sha256 "b0f09da63e3c677cc698d5cdff60e2d246368263c22385937169a9a4c321178a"
29+
end
30+
3131
resource("homebrew-testdata").stage do
3232
assert_equal ">seq1\nCCCACTGAAA",
3333
shell_output("#{bin}/seqkit amplicon --quiet -F CCC -R TTT seqs4amplicon.fa").strip

0 commit comments

Comments
 (0)