aboutsummaryrefslogtreecommitdiff
path: root/cmd/quickserv
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-26 20:07:06 -0400
committerXe Iaso <me@xeiaso.net>2025-04-26 20:07:06 -0400
commit62665656ffc8c20b7913b64dd14f4739bdcf29e7 (patch)
tree52893728becf4b7cb7b6b21f36d3a030b33ab376 /cmd/quickserv
parent0a566abb1557f1a06723564b080061c06afd5de9 (diff)
downloadx-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.js32
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()}"'`;
+ },
+ }),
+ );
+});