Skip to content

Commit 0a69779

Browse files
committed
Brew formula update for doplan version v1.0.0
1 parent 8bf9306 commit 0a69779

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

doplan.rb

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# typed: false
2+
# frozen_string_literal: true
3+
4+
# This file was generated by GoReleaser. DO NOT EDIT.
5+
class Doplan < Formula
6+
desc "Project workflow automation tool"
7+
homepage "https://github.com/DoPlan-dev/CLI"
8+
version "1.0.0"
9+
license "MIT"
10+
11+
on_macos do
12+
if Hardware::CPU.intel?
13+
url "https://github.com/DoPlan-dev/CLI/releases/download/v1.0.0/doplan_1.0.0_darwin_amd64.tar.gz"
14+
sha256 "47e6837ed04e6cf1f1389c12313075b3eb809b025ab14b186423dfa78c8a4bb7"
15+
16+
def install
17+
bin.install "doplan"
18+
end
19+
end
20+
if Hardware::CPU.arm?
21+
url "https://github.com/DoPlan-dev/CLI/releases/download/v1.0.0/doplan_1.0.0_darwin_arm64.tar.gz"
22+
sha256 "fa3ebd2e19d51007d835a2ec84120209095333e5d56774a194508b7b53b7eef2"
23+
24+
def install
25+
bin.install "doplan"
26+
end
27+
end
28+
end
29+
30+
on_linux do
31+
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
32+
url "https://github.com/DoPlan-dev/CLI/releases/download/v1.0.0/doplan_1.0.0_linux_amd64.tar.gz"
33+
sha256 "a5bb2bc860658578abb95fcba14696a2e57cd06bcc47a27297e1dc99c983af7c"
34+
def install
35+
bin.install "doplan"
36+
end
37+
end
38+
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
39+
url "https://github.com/DoPlan-dev/CLI/releases/download/v1.0.0/doplan_1.0.0_linux_arm64.tar.gz"
40+
sha256 "84a593faaec7f9eaa6f9e5c0e93234b2beca7bdaf81e78a46ad73b766c024902"
41+
def install
42+
bin.install "doplan"
43+
end
44+
end
45+
end
46+
47+
test do
48+
system "#{bin}/doplan --version"
49+
end
50+
end

0 commit comments

Comments
 (0)