blob: e22531324e3e83b61850c973ec108dc597efa8e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class Planr < Formula
desc "An open-source, distrubed code grading tool for the classroom"
homepage "https://www.git.furkistan.com/planr.git/about/"
url "https://git.furkistan.com/planr.git/snapshot/planr-0.0.2.tar.xz"
version "0.0.2"
sha256 "15dded6078ef5197e7b1873f694c7ad06a6862bbe4f324b961b2aceb254e7dfd"
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.0.2", shell_output("#{bin}/planr version").strip
end
end
|