From 7ea63906cdf5a249cf7d6db92da9fd7adf7ab7de Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Tue, 10 Aug 2021 21:09:30 -0500 Subject: README and planr tap --- Formula/planr.rb | 22 ++++++++++++++++++++++ README.md | 4 ++++ 2 files changed, 26 insertions(+) create mode 100644 Formula/planr.rb create mode 100644 README.md diff --git a/Formula/planr.rb b/Formula/planr.rb new file mode 100644 index 0000000..992ae9c --- /dev/null +++ b/Formula/planr.rb @@ -0,0 +1,22 @@ +class Planr < Formula + desc "An open-source, distrubed code grading tool for the classroom" + homepage "https://www.git.flu0r1ne.net/planr.git/about/" + url "https://git.flu0r1ne.net/planr.git/snapshot/planr-0.0.1.tar.xz" + version "0.0.1" + sha256 "b10830960481a78d48ec8bf979cd8f386dd50c378df04fbfbd78c88240ac4af7" + 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.1", shell_output("#{bin}/planr version").strip + end +end diff --git a/README.md b/README.md new file mode 100644 index 0000000..767885d --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +PlanR Tap +========= + +Provides [`planr`](https://www.git.flu0r1ne.net/planr.git/) formula for [Homebrew](https://brew.sh) -- cgit v1.2.3