Files
orbit/examples/project
nandi a91f832f41
Rolling Release / build (push) Successful in 1m54s
Rolling Release / publish (push) Successful in 9s
Declare hello from the example channel and add backlog collection
- Pin the example project's `hello` dependency to the `example` channel in orbit.toml, matching `greet`
- Update the example project README to describe both dependencies as coming from `example`
- Add MEANS.md as the planning backlog collection and ignore `.means/` in .gitignore
2026-12-01 05:55:56 -08:00
..

orbit-demo

An example project whose dependencies (hello and greet, both from the example channel) are declared in orbit.toml and pinned in orbit.lock.

Files

  • orbit.toml — declares the example channel, dependencies (greet and hello), and [tasks].
  • orbit.lock — deterministic lockfile generated by orbit lock.
  • demo.sh — script invoked by the demo task that calls hello and greet from .orbit/bin/.
  • .gitignore — ignores the generated .orbit/ environment directory.

Usage

From this directory:

orbit install --locked     # sync .orbit/ from orbit.lock
orbit list                 # show locked project packages
orbit run --locked demo    # run demo.sh with .orbit/bin on PATH
orbit run --locked greet   # run the greet task
orbit run --locked hello   # run the hello task
orbit update               # resolve newer versions allowed by orbit.toml
eval "$(orbit env)"        # put .orbit/bin on PATH in your current shell

Or from the repository root with --manifest-path examples/project.