class Planr < Formula desc "An open-source, disturbed code grading tool for the classroom" homepage "https://www.git.flu0r1ne.net/planr/about/" url "https://www.git.flu0r1ne.net/planr/snapshot/planr-0.1.3.tar.xz" version "0.1.3" sha256 "6f9eb0343d8ff9c9c7242bfb3c0af16634a9f41413c212e24445ad89cba29841" license "GPL-2.0-only" depends_on "go" => :build depends_on "cmake" depends_on "make" def install system "make" bin.install "./planr" end test do # Do something more substantial once test configuration is more modular assert_equal "0.1.3", shell_output("#{bin}/planr version").strip end end