yeet

package module
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 0 Imported by: 0

README

yeet

enbyware GitHub Issues or Pull Requests by label GitHub go.mod Go version language count repo size

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:

  1. Thou shalt never import thine code from another file nor require npm for any reason.
  2. If thy task requires common functionality, thou shalt use native interfaces when at all possible.
  3. 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

Packaging status

Contributors

Made with contrib.rocks.

Documentation

Overview

Package yeet contains the version number of Yeet.

Index

Constants

This section is empty.

Variables

View Source
var BuildMethod = "go-build"

BuildMethod contains the method used to build the yeet binary.

This variable is set at build time using the -X linker flag. If not set, it defaults to "go-build".

View Source
var Version = "devel"

Version is the current version of yeet.

This variable is set at build time using the -X linker flag. If not set, it defaults to "devel".

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
yeet command
flagconfyg
Package flagconfyg is a hack around confyg.
Package flagconfyg is a hack around confyg.
Package erofs provides the ability to access the contents in an EROFS [1] image.
Package erofs provides the ability to access the contents in an EROFS [1] image.
pkgs
Package pkgs provides shared packaging utilities for the mk* implementation packages.
Package pkgs provides shared packaging utilities for the mk* implementation packages.
vfs
yeet
Package yeet is a set of small helper functions useful for yeeting out scripts.
Package yeet is a set of small helper functions useful for yeeting out scripts.
test
makekey command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL