bake-tool

Crates.iobake-tool
lib.rsbake-tool
version0.1.2
created_at2025-07-08 18:38:21.924987+00
updated_at2025-07-08 22:03:35.333205+00
descriptionA minimal and fast alternative to Make, written in Rust.
homepagehttps://github.com/myferr/bake
repositoryhttps://github.com/myferr/bake
max_upload_size
id1743333
size21,527
MyferIsADev (myferr)

documentation

https://bake-tool.vercel.app

README

Image

bake

License Crates.io Rust Lines of Code Contributions welcome

CI
Build Build


bake is a minimal and fast alternative to Make, written in Rust made for developers to improve efficiency. bake uses its own "Bakefile" system with a YAML-like syntax, but also supports simple Makefiles.

Installation

Remote (install.c)

Linux/macOS:

curl -sL https://raw.githubusercontent.com/myferr/bake/main/install.c | cc -xc -o install - && sudo ./install

Windows (PowerShell):

Invoke-WebRequest -Uri https://raw.githubusercontent.com/myferr/bake/main/install.c -OutFile install.c; cl install.c; .\install.exe

Crates

Cross-platform (Cargo):

cargo install bake-tool

Usage

Run bake in the directory containing a Bakefile or Makefile:

bake [task]

If no task is specified, the default task (if defined) is executed.

You can list all tasks with:

bake --list

Commands

bake supports these commands and options:

Command/Option Description
bake Runs the default task
bake <task> Runs the specified task
bake --list Lists all available tasks
bake --help Shows help information
bake --makefile <task> Run a task from a Makefile

Bakefile

Bakefiles use a YAML-like syntax defining tasks and their commands:

build:
    cargo build

test:
    cargo test

clean:
    cargo clean

default: build

Each task maps to one or more shell commands executed in order. The default task is run when no task is specified.

Commit count: 0

cargo fmt