2016-02-19 23:53:23 +00:00
|
|
|
/// <reference path="./typings/main.d.ts" />
|
2016-03-12 10:09:54 +00:00
|
|
|
import plugins = require("./npmts.plugins");
|
2016-02-19 23:53:23 +00:00
|
|
|
import NpmtsConfigFile = require("./npmts.configfile");
|
|
|
|
import NpmtsOptions = require("./npmts.options");
|
2016-03-12 09:21:16 +00:00
|
|
|
import NpmtsInstall = require("./npmts.install");
|
2016-02-19 23:53:23 +00:00
|
|
|
import NpmtsCompile = require("./npmts.compile");
|
2016-02-22 21:22:39 +00:00
|
|
|
import NpmtsJsdoc = require("./npmts.jsdoc");
|
2016-02-19 23:53:23 +00:00
|
|
|
import NpmtsTests = require("./npmts.tests");
|
|
|
|
export var run = function(){
|
|
|
|
var promisechain;
|
|
|
|
NpmtsConfigFile.run()
|
|
|
|
.then(NpmtsOptions.run)
|
2016-03-12 09:21:16 +00:00
|
|
|
.then(NpmtsInstall.run)
|
2016-02-19 23:53:23 +00:00
|
|
|
.then(NpmtsCompile.run)
|
2016-02-22 21:22:39 +00:00
|
|
|
.then(NpmtsJsdoc.run)
|
2016-03-12 10:09:54 +00:00
|
|
|
.then(NpmtsTests.run)
|
|
|
|
.then(function(configArg){
|
|
|
|
let shipString = "" +
|
|
|
|
"\n" +
|
|
|
|
"\n" +
|
|
|
|
" # # ( )\n" +
|
|
|
|
" ___#_#___|__\n" +
|
|
|
|
" _ |____________| _\n" +
|
|
|
|
" _=====| | | | | |==== _\n" +
|
|
|
|
" =====| |.---------------------------. | |====\n" +
|
|
|
|
" <--------------------' . . . . . . . . '--------------/\n" +
|
|
|
|
" \\ /\n" +
|
|
|
|
" \\___________________________________________________________/\n" +
|
|
|
|
" wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n" +
|
|
|
|
" wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n" +
|
|
|
|
" wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww\n"
|
|
|
|
console.log(shipString);
|
|
|
|
plugins.beautylog.success("READY TO SHIP!");
|
|
|
|
});
|
2016-02-19 23:53:23 +00:00
|
|
|
return promisechain;
|
|
|
|
};
|