diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-04-02 11:14:06 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-04-02 11:14:06 -0400 |
| commit | 0b25ec147dcfce6c0cb38443899c219c48e1dd92 (patch) | |
| tree | 4871288de2c2ba0edab57a4380d94fd22521e3ae /cmd | |
| parent | f6166a6a9668ed7424514f43d7922990b7db7352 (diff) | |
| download | x-0b25ec147dcfce6c0cb38443899c219c48e1dd92.tar.xz x-0b25ec147dcfce6c0cb38443899c219c48e1dd92.zip | |
cmd/yeet/internal/mktarball: put VERSION in doc folder
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/quickserv/var/.gitignore | 2 | ||||
| -rw-r--r-- | cmd/quickserv/yeetfile.js | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/cmd/quickserv/var/.gitignore b/cmd/quickserv/var/.gitignore new file mode 100644 index 0000000..c96a04f --- /dev/null +++ b/cmd/quickserv/var/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore
\ No newline at end of file diff --git a/cmd/quickserv/yeetfile.js b/cmd/quickserv/yeetfile.js new file mode 100644 index 0000000..2df9048 --- /dev/null +++ b/cmd/quickserv/yeetfile.js @@ -0,0 +1,17 @@ +["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", + }, + + 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 |
