Skip to content
Commit ed90728e authored by Christopher League's avatar Christopher League
Browse files

src/lparse: allow btl_folder to be read from environment

We can now use the environment variable `TYPER_BUILTINS` to specify
the folder in which to find `builtins.typer` and `pervasive.typer`.
Having this setting as a ref cell wasn't really helping, because it's
used at the top level to bind `default_ectx`; once you hit
`parse_args()` in `main`, it's too late to change it. So specifying as
a command-line argument will require more changes.
parent 0851032e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment