tushar_ecmc
tushar_ecmc

Reputation: 188

What is use of DOIT_SEEK_FILE

I have started to learn about doit automation tool and one thing I stumbled upon is DOIT_SEEK_FILE environment variable.

I just want to know what is use of it.

Upvotes: 0

Views: 117

Answers (1)

schettino72
schettino72

Reputation: 3170

doit command by defaults loads/executes tasks from a dodo.py in the current working directory. Sometimes you may wish to just type doit from a sub-directory (not where dodo.py is located).

DOIT_SEEK_FILE will instruct doit to recursively look for dodo.py in the parent folder if not found in the current working directory. It has the same effect as command line parameter --seek-file as documented.

Upvotes: 0

Related Questions