def finish.of

ezx@1.11.0.0 · src/tool/plan.bend:843

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/tool/world.bend as TW

843# the program started, or the link written
844def finish.of(act: TW.Act, +world: TW.World) -> Finish:
845  match act:
846    case TW.Run{args}:
847      Launch{out(world), args}
848    case TW.Install{}:
849      Link{out(world), bin.at(world), name(world), says(True{}, world)}
850    case TW.Upgrade{}:
851      Link{out(world), bin.at(world), name(world), says(False{}, world)}

Uses (8)

Used by (1)