~/bend-docscommunity

src/ez/named.bend fails

raw source on the hub · import ezx@1.5.0.0/src/ez/named.bend as Named

ez/named: the name ez add records a dependency under, in the order cargo names one. A source the ledger already holds keeps the name the ledger gave it. Otherwise a package that is an ez project is named by its own [package] name, when that is a TOML bare key; otherwise a repository by its own name, and a directory by the directory's. The entry file names nothing, because most packages call theirs main.bend, and two of them would share one [deps.main]. A name the ledger gives to another source is refused rather than written over.

4 imports
import Base
import ../ledger/manifest.bend as M
import ../ez/target.bend as Tgt
import ../pkg/pkg.bend as K