npmci/dist/npmci.build.js

13 lines
1021 B
JavaScript
Raw Permalink Normal View History

2016-06-02 17:57:01 +02:00
"use strict";
require("typings-global");
2016-07-18 16:56:53 +02:00
const plugins = require("./npmci.plugins");
const buildDocker = require("./npmci.build.docker");
2016-06-02 17:57:01 +02:00
exports.build = function (commandArg) {
2016-06-03 02:11:03 +02:00
switch (commandArg) {
case "docker":
2016-06-04 23:20:39 +02:00
return buildDocker.build();
2016-06-05 06:26:05 +02:00
default:
plugins.beautylog.log("build target " + commandArg + " not recognised!");
2016-06-03 02:11:03 +02:00
}
};
2016-07-18 16:56:53 +02:00
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuYnVpbGQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1jaS5idWlsZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsUUFBTyxnQkFBZ0IsQ0FBQyxDQUFBO0FBQ3hCLE1BQVksT0FBTyxXQUFNLGlCQUFpQixDQUFDLENBQUE7QUFHM0MsTUFBWSxXQUFXLFdBQU0sc0JBRTdCLENBQUMsQ0FGa0Q7QUFFeEMsYUFBSyxHQUFHLFVBQVMsVUFBVTtJQUNsQyxNQUFNLENBQUEsQ0FBQyxVQUFVLENBQUMsQ0FBQSxDQUFDO1FBQ2YsS0FBSyxRQUFRO1lBQ1QsTUFBTSxDQUFDLFdBQVcsQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUMvQjtZQUNJLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGVBQWUsR0FBRyxVQUFVLEdBQUcsa0JBQWtCLENBQUMsQ0FBQztJQUNqRixDQUFDO0FBQ0wsQ0FBQyxDQUFBIn0=