aboutsummaryrefslogtreecommitdiff
path: root/cmd/yeet/yeetfile.js
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-01 22:33:36 -0400
committerXe Iaso <me@xeiaso.net>2025-04-01 22:33:36 -0400
commitf6166a6a9668ed7424514f43d7922990b7db7352 (patch)
tree0d1ceeea15974b24ea85591d314c0503e6eac31a /cmd/yeet/yeetfile.js
parent6e622796547d01f59694687decf157a9f09dd51f (diff)
downloadx-1.13.0.tar.xz
x-1.13.0.zip
cmd/yeet: build tarball packagesv1.13.0
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/yeet/yeetfile.js')
-rw-r--r--cmd/yeet/yeetfile.js21
1 files changed, 16 insertions, 5 deletions
diff --git a/cmd/yeet/yeetfile.js b/cmd/yeet/yeetfile.js
index b8468d5..2f3cfb0 100644
--- a/cmd/yeet/yeetfile.js
+++ b/cmd/yeet/yeetfile.js
@@ -1,12 +1,23 @@
go.install();
yeet.setenv("GOARM", "7");
-yeet.setenv("CGO_ENABLED", "0");
-$`CGO_ENABLED=0 GOARCH=arm64 GOOS=linux go build -o ./var/yeet -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"'`;
-
-["amd64", "arm64"].forEach(goarch => {
- [deb, rpm].forEach(method => method.build({
+[
+ // "386",
+ "amd64",
+ // "arm",
+ "arm64",
+ // "loong64",
+ // "mips",
+ // "mips64",
+ // "mips64le",
+ // "mipsle",
+ // "ppc64",
+ // "ppc64le",
+ // "riscv64",
+ // "s390x",
+].forEach(goarch => {
+ [deb, rpm, tarball].forEach(method => method.build({
name: "yeet",
description: "Yeet out actions with maximum haste!",
homepage: "https://within.website",