We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6619404 commit e90a5deCopy full SHA for e90a5de
riff.rb
@@ -0,0 +1,27 @@
1
+require "FileUtils"
2
+
3
+class Riff < Formula
4
+ homepage "https://github.com/projectriff/riff"
5
6
+ v = "v0.1.0" # CI Managed
7
+ url "https://github.com/projectriff/riff/releases/download/#{v}/riff-darwin-amd64.tgz"
8
+ version v
9
+ sha256 "565b45b25650691cfd7219915b6e30ebe69c1b801b154d93c034e503857c0e45" # CI Managed
10
11
+ def gunzip(filename)
12
+ command = "gunzip --force #{filename}"
13
+ success = system(command)
14
15
+ success && $?.exitstatus == 0
16
+ end
17
18
+ def install
19
+ # FileUtils.mv("riff-darwin-amd64", "riff")
20
+ bin.install "riff"
21
22
23
+ test do
24
+ system "#{bin}/riff", "version"
25
26
+end
27
0 commit comments