-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskillsctl.rb
More file actions
50 lines (44 loc) · 1.62 KB
/
Copy pathskillsctl.rb
File metadata and controls
50 lines (44 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class Skillsctl < Formula
desc "CLI for discovering, installing, and publishing Claude Code skills"
homepage "https://github.com/nebari-dev/skillsctl"
version "0.2.4"
license "MIT"
on_macos do
if Hardware::CPU.intel?
url "https://github.com/nebari-dev/skillsctl/releases/download/v0.2.4/skillsctl_0.2.4_darwin_amd64.tar.gz"
sha256 "1605c8ae4bc2c718ca8a236231c6513b63e8b83aae809da973df4c902f059ccb"
define_method(:install) do
bin.install "skillsctl"
end
end
if Hardware::CPU.arm?
url "https://github.com/nebari-dev/skillsctl/releases/download/v0.2.4/skillsctl_0.2.4_darwin_arm64.tar.gz"
sha256 "d8c3b48416319e9f61fa01f838f30630a7a8c8851389ba3ac52af4490c166244"
define_method(:install) do
bin.install "skillsctl"
end
end
end
on_linux do
if Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
url "https://github.com/nebari-dev/skillsctl/releases/download/v0.2.4/skillsctl_0.2.4_linux_amd64.tar.gz"
sha256 "79df048b1e6f1cf9ad23868e0f9ce98b763f7798ed874b5c9eb3e2a43f3b8fdc"
define_method(:install) do
bin.install "skillsctl"
end
end
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
url "https://github.com/nebari-dev/skillsctl/releases/download/v0.2.4/skillsctl_0.2.4_linux_arm64.tar.gz"
sha256 "0dd4efc4085c2f2342f5e57d2042214601a832efe42e09fb82448e258fe65c7d"
define_method(:install) do
bin.install "skillsctl"
end
end
end
test do
system "#{bin}/skillsctl", "--version"
end
end