nitc :: ToolContext :: share_dir=
Most often nit/share/.
nit/share/
# Shared files directory. # # Most often `nit/share/`. var share_dir: String is lazy do var sharedir = opt_share_dir.value if sharedir == null then sharedir = nit_dir / "share" if not sharedir.file_exists then fatal_error(null, "Fatal Error: cannot locate shared files directory in {sharedir}. Uses --share-dir to define it's location.") end end return sharedir end