def made

ezx@1.11.0.0 · src/pub/plan.bend:1207

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/lock/plan.bend as P
import ezx@1.11.0.0/src/git/git.bend as G
import ezx@1.11.0.0/src/pub/world.bend as PW

1207# what a publish that agreed says: the hash ez computed, then the import line
1208# for the entry's path inside the package (`G.import.line`, which `ez add`
1209# prints too), by the name the package was published under when it has one.
1210# It writes nothing.
1211def made(+world: PW.World) -> P.Plan:
1212  P.Plan{[P.Say{hash(world)}, P.Say{G.import.line(called(world), at(world))}],
1213    P.Success{}}

Uses (9)

Used by (2)