Skip to content

Commit 6355260

Browse files
committed
Add pathman and ubi
1 parent 7d1ac82 commit 6355260

File tree

3 files changed

+98
-0
lines changed

3 files changed

+98
-0
lines changed

pathman.hcl

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
binaries = ["pathman"]
3+
test = "pathman -v"
4+
5+
platform "darwin" "amd64" {
6+
source = "https://github.com/therootcompany/pathman/releases/download/v${version}/pathman-v${version}-${os}-${arch}_v2.tar.gz"
7+
}
8+
9+
platform "darwin" "arm64" {
10+
source = "https://github.com/therootcompany/pathman/releases/download/v${version}/pathman-v${version}-${os}-${arch}.tar.gz"
11+
}
12+
13+
platform "linux" "amd64" {
14+
source = "https://github.com/therootcompany/pathman/releases/download/v${version}/pathman-v${version}-${os}-${arch}_v1.tar.gz"
15+
}
16+
17+
platform "linux" "arm64" {
18+
source = "https://github.com/therootcompany/pathman/releases/download/v${version}/pathman-v${version}-${os}-${arch}.tar.gz"
19+
}
20+
21+
on "unpack" {
22+
rename {
23+
from = "${root}/pathman-v${version}-${os}-${arch}"
24+
to = "${root}/pathman"
25+
}
26+
}
27+
description = "Manage PATH on Windows, Mac, and Linux with various Shells"
28+
homepage = "https://github.com/therootcompany/pathman"
29+
30+
version "0.6.0" {
31+
auto-version {
32+
github-release = "therootcompany/pathman"
33+
}
34+
}

project.hcl.template

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
binaries = ["dprint"]
2+
test = "dprint -v"
3+
4+
platform "darwin" "amd64" {
5+
source = "https://github.com/dprint/dprint/releases/download/${version}/dprint-x86_64-apple-${os}.zip"
6+
# on unpack {
7+
# rename { from = "${root}/jq-osx-amd64" to = "${root}/jq" }
8+
# }
9+
}
10+
11+
platform "darwin" "arm64" {
12+
source = "https://github.com/dprint/dprint/releases/download/${version}/dprint-aarch64-apple-${os}.zip"
13+
# on unpack {
14+
# rename { from = "${root}/jq-osx-amd64" to = "${root}/jq" }
15+
# }
16+
}
17+
18+
platform "linux" "amd64" {
19+
source = "https://github.com/dprint/dprint/releases/download/${version}/dprint-x86_64-unknown-linux-musl.zip"
20+
}
21+
22+
description = "Formatter for many languages"
23+
homepage = "https://github.com/dprint/dprint"
24+
25+
version "0.45.1" {
26+
auto-version {
27+
github-release = "dprint/dprint"
28+
}
29+
}

ubi.hcl

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
binaries = ["ubi"]
3+
test = "ubi -v"
4+
5+
platform "darwin" "amd64" {
6+
source = "https://github.com/houseabsolute/ubi/releases/download/v${version}/ubi-Darwin-x86_64.tar.gz"
7+
}
8+
9+
platform "darwin" "arm64" {
10+
source = "https://github.com/houseabsolute/ubi/releases/download/v${version}/ubi-Darwin-aarch64.tar.gz"
11+
}
12+
13+
platform "linux" "amd64" {
14+
source = "https://github.com/houseabsolute/ubi/releases/download/v${version}/ubi-Linux-x86_64-musl.tar.gz"
15+
}
16+
17+
platform "linux" "arm64" {
18+
source = "https://github.com/houseabsolute/ubi/releases/download/v${version}/ubi-Linux-aarch64-musl.tar.gz"
19+
}
20+
21+
# on "unpack" {
22+
# rename {
23+
# from = "${root}/ubi-v${version}-${os}-${arch}"
24+
# to = "${root}/ubi"
25+
# }
26+
# }
27+
description = "The Universal Binary Installer"
28+
homepage = "https://github.com/houseabsolute/ubi"
29+
30+
version "0.0.29" {
31+
auto-version {
32+
github-release = "houseabsolute/ubi"
33+
}
34+
}
35+

0 commit comments

Comments
 (0)