Shipit plugin for download git submodules
npm install shipit-submodule```
npm install shipit-submodule --save-dev
To activate download of git submodules (recursively), enable `submodules`
in shipit initial configuration:
``
submodules: true
`js
module.exports = function (shipit) {
require('shipit-deploy')(shipit);
shipit.initConfig({
default: {
workspace: '/tmp/github-monitor',
deployTo: '/tmp/deploy_to',
repositoryUrl: 'https://github.com/user/repo.git',
ignores: ['.git', 'node_modules'],
keepReleases: 2,
key: '/path/to/key',
shallowClone: true,
submodules: true // <---
},
staging: {
servers: 'user@myserver.com'
}
});
};
``
It will download recursively all git submodules in repository.
* Tests
* More options