2016-07-18 18:48:34 +00:00
|
|
|
"use strict";
|
|
|
|
const plugins = require("./npmdocker.plugins");
|
2016-07-18 22:37:13 +00:00
|
|
|
//modules
|
|
|
|
const ConfigModule = require("./npmdocker.config");
|
|
|
|
const DockerModule = require("./npmdocker.docker");
|
2017-02-11 19:23:10 +00:00
|
|
|
plugins.beautylog.ora.start();
|
2016-07-18 22:37:13 +00:00
|
|
|
exports.run = () => {
|
2016-07-18 18:48:34 +00:00
|
|
|
let done = plugins.q.defer();
|
2016-07-18 22:37:13 +00:00
|
|
|
ConfigModule.run()
|
|
|
|
.then(DockerModule.run)
|
2016-07-19 22:40:37 +00:00
|
|
|
.then((configArg) => {
|
|
|
|
done.resolve(configArg);
|
|
|
|
});
|
2016-07-18 18:48:34 +00:00
|
|
|
return done.promise;
|
|
|
|
};
|
2017-02-11 19:23:10 +00:00
|
|
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtZG9ja2VyLnByb21pc2VjaGFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWRvY2tlci5wcm9taXNlY2hhaW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtDQUErQztBQUcvQyxTQUFTO0FBQ1QsbURBQW1EO0FBQ25ELG1EQUFtRDtBQUVuRCxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxLQUFLLEVBQUUsQ0FBQztBQUNuQixRQUFBLEdBQUcsR0FBRztJQUNiLElBQUksSUFBSSxHQUFHLE9BQU8sQ0FBQyxDQUFDLENBQUMsS0FBSyxFQUFFLENBQUM7SUFDN0IsWUFBWSxDQUFDLEdBQUcsRUFBRTtTQUNiLElBQUksQ0FBQyxZQUFZLENBQUMsR0FBRyxDQUFDO1NBQ3RCLElBQUksQ0FBQyxDQUFDLFNBQVM7UUFDWixJQUFJLENBQUMsT0FBTyxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQzVCLENBQUMsQ0FBQyxDQUFBO0lBQ04sTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUM7QUFDeEIsQ0FBQyxDQUFBIn0=
|