diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-04-03 19:49:54 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-04-03 19:49:54 -0400 |
| commit | 196e188328e3f9c8e711a862b3029535e0cdbf20 (patch) | |
| tree | 363e53f869b36b3274c30937ae91066d346c1314 | |
| parent | 253b43db44648612127e11f526c6b920f169e722 (diff) | |
| download | x-1.13.2.tar.xz x-1.13.2.zip | |
yeetfile: package more toolsv1.13.2
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | yeetfile.js | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/yeetfile.js b/yeetfile.js index b60e10c..aee58f8 100644 --- a/yeetfile.js +++ b/yeetfile.js @@ -12,12 +12,28 @@ }, build: ({ bin, systemd }) => { - $`go build -o ${bin}/ingressd -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}" ./cmd/ingressd'` + $`go build -o ${bin}/ingressd -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/ingressd` file.install("./cmd/ingressd/ingressd.service", `${systemd}/ingressd.service`); }, }); method.build({ + name: "license", + description: "software license generator", + homepage: "https://within.website", + license: "CC0", + goarch, + + documentation: { + "LICENSE": "LICENSE", + }, + + build: ({ bin, systemd }) => { + $`go build -o ${bin}/license -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/license` + }, + }); + + method.build({ name: "quickserv", description: "Like python3 -m http.server but a single binary", homepage: "https://within.website", @@ -29,7 +45,7 @@ }, build: ({ bin }) => { - $`go build -o ${bin}/quickserv -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}" ./cmd/quickserv'` + $`go build -o ${bin}/quickserv -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/quickserv` }, }); @@ -46,8 +62,24 @@ }, build: ({ bin }) => { - $`CGO_ENABLED=0 go build -o ${bin}/yeet -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}" ./cmd/yeet'` + $`CGO_ENABLED=0 go build -o ${bin}/yeet -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/yeet` }, - }) + }); + + method.build({ + name: "x", + description: "the universal x command", + homepage: "https://within.website", + license: "CC0", + goarch, + + documentation: { + "LICENSE": "LICENSE", + }, + + build: ({ bin, systemd }) => { + $`go build -o ${bin}/x -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/x` + }, + }); }); });
\ No newline at end of file |
