aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-03-20 14:31:27 +0100
committerTeddy Wing2021-03-20 14:31:27 +0100
commit7c5cf715402ac433e38f6221840432bef286d14d (patch)
treed23dd8c7b78775e277d2b44d6352eaa1162fbcb7
parent7766d47ac5ad433da4e0735a7a064ba0a87fc04d (diff)
downloadhomebrew-formulae-7c5cf715402ac433e38f6221840432bef286d14d.tar.bz2
ottolangy 0.0.1
-rw-r--r--HomebrewFormula/ottolangy.rb20
1 files changed, 20 insertions, 0 deletions
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