In
git submodule --help you can find
Code:
git submodule [--quiet] add [<options>] [--] <repository> [<path>]
The optional path argument lets you set where you want it to reside in your project, but by default it will reside in
/submodule-name (or
/cromchat in your case), but I guess for your case you'd want this:
Code:
git submodule add https://github.com/OciXCrom/cromchat scripting/cromchat
and in your
crx_chatmanager.sma you can
PHP Code:
#include "cromchat/cromchat.inc"
The real problem is that people don't really use git here, and even less server owners that only know how to compile a plugin using simple steps. This makes it much harder for them if you want to release a plugin.
It would be
s e x y if we had something along the lines of NPM.
__________________