From b2bc32ad7a215e257616bde979a6febcef1332e1 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 19 Apr 2025 15:16:39 -0400 Subject: build uploud packages Signed-off-by: Xe Iaso --- yeetfile.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'yeetfile.js') diff --git a/yeetfile.js b/yeetfile.js index f3edb2f..5795555 100644 --- a/yeetfile.js +++ b/yeetfile.js @@ -50,7 +50,7 @@ $`ko build --platform=all --base-import-paths --tags=latest,${git.tag()} ./cmd/{ "LICENSE": "LICENSE", }, - build: ({ bin, systemd }) => { + build: ({ bin }) => { $`go build -o ${bin}/license -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/license` }, }); @@ -71,6 +71,22 @@ $`ko build --platform=all --base-import-paths --tags=latest,${git.tag()} ./cmd/{ }, }); + method.build({ + name: "uploud", + description: "Upload images to the cloud!", + homepage: "https://within.website", + license: "CC0", + goarch, + + documentation: { + "LICENSE": "LICENSE", + }, + + build: ({ bin }) => { + $`go build -o ${bin}/uploud -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/uploud` + }, + }); + method.build({ name: "x", description: "the universal x command", -- cgit v1.2.3