2016-06-02 15:57:01 +00:00
|
|
|
"use strict";
|
|
|
|
require("typings-global");
|
2016-06-05 04:26:05 +00:00
|
|
|
var plugins = require("./npmci.plugins");
|
2016-06-04 21:20:39 +00:00
|
|
|
var buildDocker = require("./npmci.build.docker");
|
2016-06-02 15:57:01 +00:00
|
|
|
exports.build = function (commandArg) {
|
2016-06-03 00:11:03 +00:00
|
|
|
switch (commandArg) {
|
|
|
|
case "docker":
|
2016-06-04 21:20:39 +00:00
|
|
|
return buildDocker.build();
|
2016-06-05 04:26:05 +00:00
|
|
|
default:
|
|
|
|
plugins.beautylog.log("build target " + commandArg + " not recognised!");
|
2016-06-03 00:11:03 +00:00
|
|
|
}
|
|
|
|
};
|
2016-06-02 15:57:01 +00:00
|
|
|
|
2016-06-09 01:42:12 +00:00
|
|
|
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5wbWNpLmJ1aWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxRQUFPLGdCQUFnQixDQUFDLENBQUE7QUFDeEIsSUFBWSxPQUFPLFdBQU0saUJBQWlCLENBQUMsQ0FBQTtBQUczQyxJQUFZLFdBQVcsV0FBTSxzQkFFN0IsQ0FBQyxDQUZrRDtBQUV4QyxhQUFLLEdBQUcsVUFBUyxVQUFVO0lBQ2xDLE1BQU0sQ0FBQSxDQUFDLFVBQVUsQ0FBQyxDQUFBLENBQUM7UUFDZixLQUFLLFFBQVE7WUFDVCxNQUFNLENBQUMsV0FBVyxDQUFDLEtBQUssRUFBRSxDQUFDO1FBQy9CO1lBQ0ksT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsZUFBZSxHQUFHLFVBQVUsR0FBRyxrQkFBa0IsQ0FBQyxDQUFDO0lBQ2pGLENBQUM7QUFDTCxDQUFDLENBQUEiLCJmaWxlIjoibnBtY2kuYnVpbGQuanMiLCJzb3VyY2VzQ29udGVudCI6WyJ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