npmci/ts/npmci.build.ts

18 lines
438 B
TypeScript
Raw Normal View History

2016-06-02 11:39:03 +00:00
import "typings-global";
import * as plugins from "./npmci.plugins";
import {bash} from "./npmci.bash";
import * as env from "./npmci.env";
2016-06-04 16:41:35 +00:00
import * as buildDocker from "./npmci.build.docker"
2016-06-02 11:39:03 +00:00
export let build = function(commandArg){
2016-06-03 00:10:34 +00:00
switch(commandArg){
case "docker":
2016-06-04 16:41:35 +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:10:34 +00:00
}
}
2016-06-04 16:41:35 +00:00
2016-06-03 00:10:34 +00:00