~/bend-docscommunity

src/pub/world.bend fails

raw source on the hub · import ezx@1.4.0.0/src/pub/world.bend as World

pub/world: what ez publish reads. The directory the project is in (here), which git is asked about; the ledger's text, None when there is no ez.toml; and the answers to the questions the planner (pub/plan.bend) asked. There is no field for BEND_LIB, the hub or the clock, because the planner reads none of them.

A question is one of the tool commands' own (tool/world.bend): Locate for what git says of the project, git status --porcelain --untracked-files=normal among it, and Read for a file the package walk asks for. Two are publish's: Tracked, every file git tracks under the project with its git ls-files -v tag, and Upload, bend <entry> --publish, with the <name>@<version> the ledger names the package by after it when it names one, run and what it printed. The upload carries the line said just before it runs: the description the hub will show. The upload is the one question whose answering is not a read: it sends the package, so the planner asks it last, once every check that can be made before it has passed.

2 imports
import Base
import ../tool/world.bend as TW