Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:
"Missing submodule(s), please 'git clone --recurse-submodules...'"
Signed-off-by: Dave Barach <dave@barachs.net>
Check to make sure that one source file in one of the git submodules
is present. If not, throw a fatal error which explains what probably
went wrong, and how to fix it:
"Missing submodule(s), please 'git clone --recurse-submodules...'"
Signed-off-by: Dave Barach <dave@barachs.net>
deployFile allows for specifying a directory as destination, and copies
files into there, simulating the behavior of tools like cp. To do that,
it creates the directory, then appends the filename of the input file
to it and uses that as destination for the "copy file" call.
It's pretty handy for some applications to get the full path of the
new file returned by this method directly (doesn't have to implement
this concatenation more than once).