toolcontext: add nit_dir service
authorJean Privat <jean@pryen.org>
Wed, 23 Apr 2014 01:44:44 +0000 (21:44 -0400)
committerJean Privat <jean@pryen.org>
Wed, 23 Apr 2014 01:44:44 +0000 (21:44 -0400)
commit229f23c8dfe05bd1c6bb3a61b845105f3d13c361
tree78aa274f1ada2e266f661d929b9c4113dce9fe84
parentebdf4adec292282315edddef0557749501d6424f
toolcontext: add nit_dir service

Use `NIT_DIR` or some heuristic to find the Nit directory.
In next commits, tools will use it.

Signed-off-by: Jean Privat <jean@pryen.org>
src/toolcontext.nit