This commit is contained in:
BJ Hargrave 2018-10-23 03:38:28 -04:00 committed by FX Coudert
parent 8c71c27edb
commit 5e88c58e24

View file

@ -1,8 +1,8 @@
class Bnd < Formula
desc "The Swiss Army Knife for OSGi bundles"
homepage "https://bnd.bndtools.org/"
url "https://search.maven.org/remotecontent?filepath=biz/aQute/bnd/biz.aQute.bnd/4.0.0/biz.aQute.bnd-4.0.0.jar"
sha256 "b18d88ae15db4bf7af53c396feb45a64f27403d7e7d7cd50a68bf8915ca7b6c0"
url "https://search.maven.org/remotecontent?filepath=biz/aQute/bnd/biz.aQute.bnd/4.1.0/biz.aQute.bnd-4.1.0.jar"
sha256 "5ad18a5a8702fcfe42d5180ee4ba33cf4728d5f68055b2d3755a86222afac462"
bottle :unneeded
@ -39,6 +39,9 @@ class Bnd < Formula
-runrequires: osgi.identity;filter:='(osgi.identity=#{test_bsn})'
EOS
(testpath/"cnf/build.bnd").write <<~EOS
EOS
output = shell_output("#{bin}/bnd resolve resolve -b launch.bndrun")
assert_match /launch.bndrun\s+ok/, output
assert_match /#{test_bsn};version='\[#{test_version},#{test_version_next}\)/, output