shipit-submodule
v1.0.0
Published
Shipit plugin for download git submodules
Downloads
37
Readme
shipit-submodule
Install
npm install shipit-submodule --save-dev
Usage
To activate download of git submodules (recursively), enable submodules
in shipit initial configuration:
submodules: true
Example shipitfile.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: '[email protected]'
}
});
};
It will download recursively all git submodules in repository.
TODO
- Tests
- More options