File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ class Nextclade < Formula
2+ desc "Viral genome alignment, mutation calling, clade assignment & quality checks"
3+ homepage "https://clades.nextstrain.org"
4+ url "https://github.com/nextstrain/nextclade/archive/refs/tags/1.2.3.tar.gz"
5+ sha256 "4f0f71df7c26d03f7b5898cd01d0ab30029c46de505ec805f96abee09f8f231a"
6+ license "MIT"
7+
8+ livecheck do
9+ url :stable
10+ strategy :github_latest
11+ end
12+
13+ depends_on "cmake" => :build
14+ depends_on "conan" => :build
15+ depends_on "coreutils" => :build
16+ depends_on "make" => :build
17+
18+ def install
19+ system "make" , "prod"
20+ # bin.install ".out/bin/nextalign-MacOS-x86_64" => "nextalign"
21+ # bin.install ".out/bin/nextclade-MacOS-x86_64" => "nextclade"
22+ bin . install Dir [ ".out/bin/nextalign-*" ] . first => "nextalign"
23+ bin . install Dir [ ".out/bin/nextclade-*" ] . first => "nextclade"
24+ end
25+
26+ test do
27+ assert_match "nextalign #{ version } " , shell_output ( "#{ bin } /nextalign -h" )
28+ assert_match "nextclade #{ version } " , shell_output ( "#{ bin } /nextclade -h" )
29+ end
30+ end
You can’t perform that action at this time.
0 commit comments