Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nextclade 1.2.3 (new formula) #1394

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions Formula/nextclade.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
class Nextclade < Formula
desc "Viral genome alignment, mutation calling, clade assignment & quality checks"
homepage "https://clades.nextstrain.org"
url "https://github.com/nextstrain/nextclade/archive/refs/tags/1.2.3.tar.gz"
sha256 "4f0f71df7c26d03f7b5898cd01d0ab30029c46de505ec805f96abee09f8f231a"
license "MIT"

livecheck do
url :stable
strategy :github_latest
end

depends_on "cmake" => :build
depends_on "conan" => :build
depends_on "coreutils" => :build
depends_on "make" => :build

def install
system "make", "prod"
# bin.install ".out/bin/nextalign-MacOS-x86_64" => "nextalign"
# bin.install ".out/bin/nextclade-MacOS-x86_64" => "nextclade"
bin.install Dir[".out/bin/nextalign-*"].first => "nextalign"
bin.install Dir[".out/bin/nextclade-*"].first => "nextclade"
end

test do
assert_match "nextalign #{version}", shell_output("#{bin}/nextalign -h")
assert_match "nextclade #{version}", shell_output("#{bin}/nextclade -h")
end
end