Skip to content

ob.toml Manifest

ob.toml is the central configuration file for project metadata, decentralized dependencies, scripts, and embedded files ([embed]).

Full Example

[package]
name = "my-app"
version = "0.1.0"
entry = "src/main.tyl"

[dependencies]
utils = "owner/lua-utils@v1.2.0"

[scripts]
dev = "ob run src/main.tyl --watch"
test = "ob test"
build = "ob build src/main.tyl --compile -o dist/my-app"

[embed]
include = ["assets/**", "migrations/**"]

Sections

[package]

Field Required Description
name Yes Project name.
version Yes Semantic version of the project.
entry No Default entry point path (e.g., src/main.tyl).

[dependencies]

Maps alias = "owner/repo@ref", where ref can be a semver tag (v1.0.0), branch (main, feat/api), or commit SHA.

Managed automatically via ob add, ob remove, and ob sync.

[scripts]

Shell commands executed with ob run <script-name>. Orbita automatically injects OB_PACKAGES_DIR pointing to .ob/packages/.

[embed]

List of glob patterns (include = [...]) whose matching files are bundled inside standalone executables produced by ob build --compile and read via require("ob:embed").