tscoverage/dist/npmts.assets.js

17 lines
477 B
JavaScript
Raw Normal View History

2016-03-14 03:32:52 +00:00
"use strict";
/// <reference path="./typings/main.d.ts" />
var plugins = require("./npmts.plugins");
var paths = require("./npmts.paths");
exports.run = function (configArg) {
var done = plugins.Q.defer();
var config = configArg;
if (config.cli == true) {
plugins.smartfile.copy(plugins.path.join(paths.npmtsAssetsDir, "cli.js"), paths.distDir);
done.resolve(config);
}
else {
done.resolve(config);
}
return done.promise;
};