def installs

near-v-framework@0.4.0.0 · domain/architecture/system/deployment/nix_darwin/brew/effects.bend:44

import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/brew/effects.bend as Effects
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/plan/type.bend as P

44def installs(r: Result<&1, &1, U32 & String, U32 & (String & String)>, +f: String) -> List<&2, P.Step>:
45  match r:
46    case Done{(status, (_, err))}:
47      Bool.pick(List<&2, P.Step>, U32.is_eq(status, 0), [], some_or(missing(String.lines(err)), f))
48    case Fail{_}:
49      [P.Blocked{"homebrew", "brew bundle check could not run"}]

Uses (12)

Used by (1)