Skip to content

Commit

Permalink
gz-tools2: depend on gz-cmake3 (#1944)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <louise@openrobotics.org>
  • Loading branch information
chapulina authored Jun 21, 2022
1 parent d4c09cf commit a3eb175
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Formula/ignition-tools2.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
class IgnitionTools2 < Formula
desc "Entry point for ignition command-line tools"
homepage "https://ignitionrobotics.org"
desc "Entry point for Gazebo command-line tools"
homepage "https://gazebosim.org"
url "https://github.com/gazebosim/gz-tools.git", branch: "main"
version "1.999.999~0~20220414"
license "Apache-2.0"

depends_on "cmake" => :build
depends_on "libyaml" => :test
depends_on "ruby" => :test
depends_on "gz-cmake3"

def install
mkdir "build" do
Expand All @@ -28,7 +29,7 @@ def install
- test : Test utility
---
EOS
ENV["IGN_CONFIG_PATH"] = testpath/"config/"
system "#{bin}/ign", "test", "--versions"
ENV["GZ_CONFIG_PATH"] = testpath/"config/"
system "#{bin}/gz", "test", "--versions"
end
end

0 comments on commit a3eb175

Please sign in to comment.