From 7c5cf715402ac433e38f6221840432bef286d14d Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 20 Mar 2021 14:31:27 +0100 Subject: ottolangy 0.0.1 --- HomebrewFormula/ottolangy.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 HomebrewFormula/ottolangy.rb diff --git a/HomebrewFormula/ottolangy.rb b/HomebrewFormula/ottolangy.rb new file mode 100644 index 0000000..0ec9b5c --- /dev/null +++ b/HomebrewFormula/ottolangy.rb @@ -0,0 +1,20 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at https://mozilla.org/MPL/2.0/. + +class Ottolangy < Formula + desc "Set Mutt's attribution format based on the input language" + homepage "https://github.com/teddywing/ottolangy" + url "https://github.com/teddywing/mutt-ottolangy/releases/download/v0.0.1/ottolangy_0.0.1_x86_64-apple-darwin.tar.bz2" + sha256 "4f6bdc25500599a25622d90ea344591b0e8efe18f2362c3271a87e8ccba0fbe6" + + def install + bin.install Dir["bin/*"] + etc.install Dir["etc/*"] + man1.install Dir["share/man/man1/*"] + end + + test do + assert_equal version, shell_output("ottolangy --version").strip + end +end -- cgit v1.2.3