def answer.sources

ezx@1.11.0.0 · src/lock/run.bend:425

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import snap@1.4.0.0/main.bend as R
import ezx@1.11.0.0/src/lock/up.bend as Up

425# every Bend source of the project. Vendored trees and the gate's shadow live
426# under .ez, and a checkout's .git is not source, so neither is rewritten.
427def answer.sources() -> IO(Up.Answer):
428  do IO<Up.Answer>:
429    +out : String <- R.exec(["find", ".", "-name", "*.bend",
430      "-not", "-path", "*/.ez/*", "-not", "-path", "*/.git/*"])
431    found.listed(R.ok(out), R.text(out))

Uses (9)

Used by (1)