class EdSystemSearch < Formula desc "Find interesting systems in Elite: Dangerous" homepage "https://github.com/{{ github_repo }}" url "https://github.com/{{ github_repo }}/archive/{{ git_tag }}.tar.gz" sha256 "{{ file_sha }}" depends_on "rust" => :build def install system "cargo", "install", "--locked", "--root", prefix, "--path", "." end test do system "#{bin}/ed-system-search", "-h" system "#{bin}/ed-system-search", "-V" end end