def links.act

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

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

63# whether an act links the binary: `install` and `upgrade` do, `run` does not
64def links.act(act: TW.Act) -> Bool:
65  match act:
66    case TW.Run{_args}:
67      False{}
68    case TW.Install{}:
69      True{}
70    case TW.Upgrade{}:
71      True{}

Uses (2)

Used by (1)