diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-04-26 20:07:06 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-04-26 20:07:06 -0400 |
| commit | 62665656ffc8c20b7913b64dd14f4739bdcf29e7 (patch) | |
| tree | 52893728becf4b7cb7b6b21f36d3a030b33ab376 /cmd/quickserv | |
| parent | 0a566abb1557f1a06723564b080061c06afd5de9 (diff) | |
| download | x-62665656ffc8c20b7913b64dd14f4739bdcf29e7.tar.xz x-62665656ffc8c20b7913b64dd14f4739bdcf29e7.zip | |
chore: reformat the world, set up autoformat on commit
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/quickserv')
| -rw-r--r-- | cmd/quickserv/yeetfile.js | 32 |
1 files changed, 17 insertions, 15 deletions
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()}"'`; + }, + }), + ); +}); |
