def run

ezx@1.11.0.0 · src/pub/run.bend:107

import ezx@1.11.0.0/src/pub/run.bend as Run
import Base
import snap@1.4.0.0/main.bend as R
import ezx@1.11.0.0/src/io/file.bend as F
import ezx@1.11.0.0/src/share/env.bend as Env
import ezx@1.11.0.0/src/pub/world.bend as PW

107# `ez publish`: the package the project's ledger names, checked, sent, and
108# the hash bend answered checked against ez's own
109def run() -> IO(Unit):
110  do IO<Unit>:
111    lib : String <- Env.lib()
112    +pwd : String <- R.exec(["pwd"])
113    led : Maybe<&2, String> <- F.read(PW.toml())
114    loop(rounds(), lib, PW.World{String.trim(R.text(pwd)), led, []})

Uses (15)

Used by (1)