Skip to content

Commit

Permalink
nextclade 1.2.3 (new formula)
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed Aug 15, 2021
1 parent ad7ed89 commit ff0ca98
Showing 1 changed file with 30 additions and 0 deletions.
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

0 comments on commit ff0ca98

Please sign in to comment.