18 lines
438 B
TypeScript
18 lines
438 B
TypeScript
import "typings-global";
|
|
import * as plugins from "./npmci.plugins";
|
|
import {bash} from "./npmci.bash";
|
|
import * as env from "./npmci.env";
|
|
import * as buildDocker from "./npmci.build.docker"
|
|
|
|
export let build = function(commandArg){
|
|
switch(commandArg){
|
|
case "docker":
|
|
return buildDocker.build();
|
|
default:
|
|
plugins.beautylog.log("build target " + commandArg + " not recognised!");
|
|
}
|
|
}
|
|
|
|
|
|
|