From 62665656ffc8c20b7913b64dd14f4739bdcf29e7 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sat, 26 Apr 2025 20:07:06 -0400 Subject: chore: reformat the world, set up autoformat on commit Signed-off-by: Xe Iaso --- cmd/quickserv/yeetfile.js | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'cmd/quickserv/yeetfile.js') diff --git a/cmd/quickserv/yeetfile.js b/cmd/quickserv/yeetfile.js index 2df9048..a843668 100644 --- a/cmd/quickserv/yeetfile.js +++ b/cmd/quickserv/yeetfile.js @@ -1,17 +1,19 @@ -["amd64", "arm64"].forEach(goarch => { - [deb, rpm, tarball].forEach(method => method.build({ - name: "quickserv", - description: "Like python3 -m http.server but a single binary", - homepage: "https://within.website", - license: "CC0", - goarch, +["amd64", "arm64"].forEach((goarch) => { + [deb, rpm, tarball].forEach((method) => + method.build({ + name: "quickserv", + description: "Like python3 -m http.server but a single binary", + homepage: "https://within.website", + license: "CC0", + goarch, - documentation: { - "../../LICENSE": "LICENSE", - }, + documentation: { + "../../LICENSE": "LICENSE", + }, - build: ({ bin }) => { - $`go build -o ${bin}/quickserv -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"'` - }, - })) -}) \ No newline at end of file + build: ({ bin }) => { + $`go build -o ${bin}/quickserv -ldflags '-s -w -extldflags "-static" -X "within.website/x.Version=${git.tag()}"'`; + }, + }), + ); +}); -- cgit v1.2.3