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
# Homebrew formula for skillpack.
#
# Ships the prebuilt binaries attached to the GitHub Release (built by the
# Release workflow). To use it as a tap:
#
# brew tap nordicnode/skillpack https://github.com/nordicnode/skillpack
# brew install skillpack
#
# Or install this single file directly:
#
# brew install --formula homebrew/skillpack.rb
#
# Version/URL bumps: on each release update `version` and the `vX.Y.Z` tag in
# the `url`s below. Add a `sha256` per platform once you have pinned a release
# (Homebrew warns without it but still installs):
# curl -fsSL <url> | shasum -a 256
desc
homepage
license
version
on_macos do
if Hardware::CPU.arm?
url
else
url
end
end
on_linux do
if Hardware::CPU.arm?
url
else
# Static musl build — no glibc dependency.
url
end
end
bin.install
end
test do
system ,
end
end