Skip to content

Commit

Permalink
beast 1.10.0
Browse files Browse the repository at this point in the history
depend on beagle
update test

Closes #29250.

Signed-off-by: ilovezfs <[email protected]>
  • Loading branch information
jonchang authored and ilovezfs committed Jun 20, 2018
1 parent 74ac77c commit 011f3c4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Formula/beast.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Beast < Formula
desc "Bayesian Evolutionary Analysis Sampling Trees"
homepage "http://beast.community/"
url "https://github.com/beast-dev/beast-mcmc/archive/v1.8.4.tar.gz"
sha256 "de8e7dd82eb9017b3028f3b06fd588e5ace57c2b7466ba2e585f9bd8381407af"
url "https://github.com/beast-dev/beast-mcmc/archive/v1.10.0.tar.gz"
sha256 "5c77d0dab496489d1418d562a4ef90710f9ff70628a35e6089269605788953df"
head "https://github.com/beast-dev/beast-mcmc.git"

bottle do
Expand All @@ -13,6 +13,7 @@ class Beast < Formula
end

depends_on "ant" => :build
depends_on "beagle"
depends_on :java => "1.7+"

def install
Expand All @@ -23,13 +24,13 @@ def install
end

test do
cp pkgshare/"examples/clockModels/testUCRelaxedClockLogNormal.xml", testpath
cp pkgshare/"examples/TestXML/ClockModels/testUCRelaxedClockLogNormal.xml", testpath

# Run fewer generations to speed up tests
inreplace "testUCRelaxedClockLogNormal.xml", 'chainLength="10000000"',
'chainLength="100000"'

system "#{bin}/beast", "-beagle_off", "testUCRelaxedClockLogNormal.xml"
system "#{bin}/beast", "testUCRelaxedClockLogNormal.xml"

%w[ops log trees].each do |ext|
output = "testUCRelaxedClockLogNormal." + ext
Expand Down

0 comments on commit 011f3c4

Please sign in to comment.