1 | var path = require('path');
|
2 | var _ = require('lodash');
|
3 |
|
4 | module.exports = function(shipit) {
|
5 | shipit.currentPath = path.join(shipit.config.deployTo, 'current');
|
6 | shipit.releasesPath = path.join(shipit.config.deployTo, 'releases');
|
7 | shipit.config.gitLogFormat = shipit.config.gitLogFormat || '%h: %s - %an';
|
8 | _.assign(shipit.constructor.prototype, require('./shipit'));
|
9 |
|
10 | return shipit;
|
11 | };
|