diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-04-19 16:10:10 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-04-19 16:10:10 -0400 |
| commit | 361d438cb64f3959f66496b07b1e9edade6cc889 (patch) | |
| tree | 696cb00f9cf7e43b5b5a6d4cc6d1c17630a10906 | |
| parent | b5533db3c24657875901863126f46adae488e703 (diff) | |
| download | x-361d438cb64f3959f66496b07b1e9edade6cc889.tar.xz x-361d438cb64f3959f66496b07b1e9edade6cc889.zip | |
yeetfile: build relaydv1.13.5
Signed-off-by: Xe Iaso <me@xeiaso.net>
| -rw-r--r-- | yeetfile.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/yeetfile.js b/yeetfile.js index 5795555..145cd7a 100644 --- a/yeetfile.js +++ b/yeetfile.js @@ -20,6 +20,8 @@ programs = [ $`ko build --platform=all --base-import-paths --tags=latest,${git.tag()} ./cmd/{${programs}}`; +yeet.setenv("CGO_ENABLED", "0"); + ["amd64", "arm64"].forEach(goarch => { [deb, rpm, tarball].forEach(method => { method.build({ @@ -72,6 +74,22 @@ $`ko build --platform=all --base-import-paths --tags=latest,${git.tag()} ./cmd/{ }); method.build({ + name: "relayd", + description: "TLS termination and client fingerprinting", + homepage: "https://within.website", + license: "CC0", + goarch, + + documentation: { + "LICENSE": "LICENSE", + }, + + build: ({ bin }) => { + $`go build -o ${bin}/relayd -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"' ./cmd/relayd` + }, + }); + + method.build({ name: "uploud", description: "Upload images to the cloud!", homepage: "https://within.website", |
