apenwarr-redo/redo
Avery Pennarun 9b6d1eeb6e env and env_init: Eliminate weird auto-initialization of globals.
Merge the two files into env, and make each command explicitly call the
function that sets it up in the way that's needed for that command.

This means we can finally just import all the modules at the top of
each file, without worrying about import order.  Phew.

While we're here, remove the weird auto-appending-'all'-to-targets
feature in env.init().  Instead, do it explicitly, and only from redo and
redo-ifchange, only if is_toplevel and no other targets are given.
2018-12-05 02:27:04 -05:00
..
version redo/version: fix pylint warning. 2018-12-05 00:22:10 -05:00
.gitignore Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
__init__.py Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
atoi.py Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
builder.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
clean.do Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
cmd_always.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_ifchange.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_ifcreate.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_log.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_ood.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_redo.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_sources.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_stamp.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_targets.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_unlocked.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cmd_whichdo.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
cycles.py Move env.{add,get}_lock() into cycles.py, and rename. 2018-12-05 02:26:58 -05:00
deps.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
env.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
helpers.py Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
jobserver.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
logs.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
options.py Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
paths.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
py.do Rename redo/python -> redo/py. 2018-12-05 02:27:04 -05:00
sh.do Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00
state.py env and env_init: Eliminate weird auto-initialization of globals. 2018-12-05 02:27:04 -05:00
whichpython.do Directory reorg: move code into redo/, generate binaries in bin/. 2018-12-04 02:53:40 -05:00