Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
Go 96%
JavaScript 2%
2%
Makefile <1%
Ruby <1%
Commits 76
chore(release): 0.6.1 [skip ci]
Signed-Off-By: Mimi Yasomi <mimi@techaro.lol>
fix(internal/vfs): don't give archive/tar Sys data
Signed-off-by: Xe Iaso <me@xeiaso.net>
fix(internal/vfs): implement gname and uname for modtimefileinfo
Signed-off-by: Xe Iaso <me@xeiaso.net>
fix(internal/mkrpm): ensure greater reproduciblity
Signed-off-by: Xe Iaso <me@xeiaso.net>
chore(release): 0.6.0 [skip ci]
Signed-Off-By: Mimi Yasomi <mimi@techaro.lol>
chore: go mod tidy
Signed-off-by: Xe Iaso <me@xeiaso.net>
feat: use mvdan.cc/sh/v3 instead of system sh (#28)
Signed-off-by: Xe Iaso <me@xeiaso.net>
fix: use sh instead of bash (#27)
Signed-off-by: Xe Iaso <me@xeiaso.net>
feat: support SOURCE_DATE_EPOCH (#26)
Signed-off-by: Xe Iaso <me@xeiaso.net>
test: ensure builds are reproducible (#24)
Signed-off-by: Xe Iaso <me@xeiaso.net>
README.md
yeet #
Yeet out actions with maximum haste! Declare your build instructions as small JavaScript snippets and let er rip!
For example, here's how you build a Go program into an RPM for x86_64 Linux:
// yeetfile.js
const platform = "linux";
const goarch = "amd64";
rpm.build({
name: "hello",
description: "Hello, world!",
license: "CC0",
platform,
goarch,
build: ({ bin }) => {
$`go build ./cmd/hello ${bin}/hello`;
},
});
Yeetfiles MUST obey the following rules:
- Thou shalt never import thine code from another file nor require npm for any reason.
- If thy task requires common functionality, thou shalt use native interfaces when at all possible.
- If thy task hath been copied and pasted multiple times, yon task belongeth in a native interface.
See the API documentation for more information about the exposed API.
Installation #
To install yeet, use the following command:
go install github.com/TecharoHQ/yeet/cmd/yeet@latest
Development #
To get started developing for yeet, install Go and Node from Homebrew.
brew bundle
npm ci
npm run prepare
Support #
For support, please subscribe to me on Patreon and ask in the #yeet channel in the patron Discord.
Packaging Status #
Contributors #
Made with contrib.rocks.