Repository navigation
Lua DSL
Leonard Ramminger edited this page Aug 9, 2026
·
4 revisions
build.lua is the project manifest for Beez. It is a Lua script that registers tasks, steps, workflows, and project settings. Beez loads it once at startup, builds an internal registry, then runs what you invoke on the CLI.
- DSL Overview - how loading works, available globals, errors
-
Step Declaration -
step({ ... }) -
Task Declaration -
task(...) -
Workflow Declaration -
workflow(...) -
Order Declaration -
order(before, after) -
Configure Step -
configure_step(name, config) -
Beez API -
beez.config(),beez.env() -
Step Context - the
ctxobject in Lua callbacks - DSL Patterns - common recipes (incremental checks, workers, config)
beez.config(require("config"))
step({
name = "compile",
phase = "build",
scope = "default",
run = "cmake --build build",
})
workflow("build", {
{ phase = "build", scope = "default" },
})
task("clean", "rm -rf build")beez build
beez clean
beez -s compile- Fundamentals - concepts (step, task, workflow, phase, scope)
- CLI - how to run what you declare
-
Configuration -
beez.config()settings -
Caching -
input/output/mutateand success cache
Quick Reference · Glossary · FAQ
- Fundamentals
- Core Concepts
- Project Layout
- First Pipeline
- Phases and Scopes
- How Phases and Scopes Work
- Selecting with Phases and Scopes
- Designing Phases and Scopes
- Parallel Execution and Dependencies
- Configuration
- Configuration Overview
- Global User Config
- Project Config
- Environment Variables
- Performance Settings
- Cache Settings
- Config Reference
- CLI
- CLI Overview
- Running Targets
- Filtering by Phase
- Running a Single Step
- Listing Entities
- Output and Logging Flags
- Cache and Maintenance Flags
- Meta and Utility Commands
-
Project Scaffolding —
beez --init(embedded Tempify) - CLI Flag Reference
- Lua DSL
- DSL Overview
- Plugin System — Plugins, Config DSL, Standard-Workflows
- Step Declaration
- Task Declaration
- Workflow Declaration
- Order Declaration
- Configure Step
- ReqPack Declaration
- Beez API
- Step Context
- DSL Patterns
- Caching
- Caching Overview
- Step Cache
- Success Cache
- Glob Metadata Cache
- Artifact Patterns
- Cache Keys and Invalidation
- Cache Storage and Maintenance
- Caching Troubleshooting
- UI and Output
- Output Modes
- Progress and Animation
- Colors and Themes
- Run Summaries
- Logging and Log Files
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes