build in debug logs
This commit is contained in:
parent
0e7c942a97
commit
a597c1268b
3
dist/mod_build/index.js
vendored
3
dist/mod_build/index.js
vendored
@ -14,6 +14,7 @@ const npmciMods = require("../npmci.mods");
|
||||
* builds for a specific service
|
||||
*/
|
||||
exports.build = (argvArg) => __awaiter(this, void 0, void 0, function* () {
|
||||
console.log(argvArg);
|
||||
let whatToPublish = argvArg._[1];
|
||||
switch (whatToPublish) {
|
||||
case 'docker':
|
||||
@ -25,4 +26,4 @@ exports.build = (argvArg) => __awaiter(this, void 0, void 0, function* () {
|
||||
}
|
||||
return;
|
||||
});
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfYnVpbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF3QztBQUd4QywyQ0FBMEM7QUFPMUM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRyxDQUFPLE9BQU87SUFDL0IsSUFBSSxhQUFhLEdBQVcsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtJQUN4QyxNQUFNLENBQUMsQ0FBQyxhQUFhLENBQUMsQ0FBQyxDQUFDO1FBQ3RCLEtBQUssUUFBUTtZQUNYLElBQUksU0FBUyxHQUFHLE1BQU0sU0FBUyxDQUFDLFNBQVMsQ0FBQyxJQUFJLEVBQUUsQ0FBQTtZQUNoRCxNQUFNLFNBQVMsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUE7WUFDOUIsS0FBSyxDQUFBO1FBQ1A7WUFDRSxPQUFPLENBQUMsU0FBUyxDQUFDLEdBQUcsQ0FBQyxlQUFlLEdBQUcsYUFBYSxHQUFHLGtCQUFrQixDQUFDLENBQUE7SUFDL0UsQ0FBQztJQUNELE1BQU0sQ0FBQTtBQUNSLENBQUMsQ0FBQSxDQUFBIn0=
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi90cy9tb2RfYnVpbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBLHlDQUF3QztBQUd4QywyQ0FBMEM7QUFPMUM7O0dBRUc7QUFDUSxRQUFBLEtBQUssR0FBRyxDQUFPLE9BQU87SUFDL0IsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQTtJQUNwQixJQUFJLGFBQWEsR0FBVyxPQUFPLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFBO0lBQ3hDLE1BQU0sQ0FBQyxDQUFDLGFBQWEsQ0FBQyxDQUFDLENBQUM7UUFDdEIsS0FBSyxRQUFRO1lBQ1gsSUFBSSxTQUFTLEdBQUcsTUFBTSxTQUFTLENBQUMsU0FBUyxDQUFDLElBQUksRUFBRSxDQUFBO1lBQ2hELE1BQU0sU0FBUyxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQTtZQUM5QixLQUFLLENBQUE7UUFDUDtZQUNFLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGVBQWUsR0FBRyxhQUFhLEdBQUcsa0JBQWtCLENBQUMsQ0FBQTtJQUMvRSxDQUFDO0lBQ0QsTUFBTSxDQUFBO0FBQ1IsQ0FBQyxDQUFBLENBQUEifQ==
|
7
dist/npmci.cli.js
vendored
7
dist/npmci.cli.js
vendored
@ -20,6 +20,7 @@ smartcli.addVersion(npmciInfo.version);
|
||||
smartcli.addCommand('build')
|
||||
.then((argvArg) => __awaiter(this, void 0, void 0, function* () {
|
||||
let modBuild = yield npmciMods.modBuild.load();
|
||||
console.log(argvArg);
|
||||
yield modBuild.build(argvArg);
|
||||
NpmciEnv.configStore();
|
||||
})).catch(err => {
|
||||
@ -66,9 +67,9 @@ smartcli.addCommand('install')
|
||||
});
|
||||
// prepare
|
||||
smartcli.addCommand('prepare')
|
||||
.then((argv) => __awaiter(this, void 0, void 0, function* () {
|
||||
.then((argvArg) => __awaiter(this, void 0, void 0, function* () {
|
||||
let modPrepare = yield npmciMods.modPrepare.load();
|
||||
yield modPrepare.prepare(argv._[1]);
|
||||
yield modPrepare.prepare(argvArg._[1]);
|
||||
yield NpmciEnv.configStore();
|
||||
})).catch(err => {
|
||||
console.log(err);
|
||||
@ -105,4 +106,4 @@ smartcli.addCommand('trigger')
|
||||
process.exit(1);
|
||||
});
|
||||
smartcli.startParse();
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY2xpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuY2xpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFBQSwyQ0FBMEM7QUFDMUMsdUNBQXNDO0FBQ3RDLElBQUksU0FBUyxHQUFHLElBQUksT0FBTyxDQUFDLFdBQVcsQ0FBQyxjQUFjLENBQUMsS0FBSyxDQUFDLGdCQUFnQixDQUFDLENBQUE7QUFDOUUsT0FBTyxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsaUJBQWlCLEdBQUcsU0FBUyxDQUFDLE9BQU8sQ0FBQyxDQUFBO0FBRTVELHdDQUF1QztBQUV2QywwQ0FBeUM7QUFFekMsSUFBSSxRQUFRLEdBQUcsSUFBSSxPQUFPLENBQUMsUUFBUSxDQUFDLFFBQVEsRUFBRSxDQUFBO0FBQzlDLFFBQVEsQ0FBQyxVQUFVLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxDQUFBO0FBRXRDLFFBQVE7QUFDUixRQUFRLENBQUMsVUFBVSxDQUFDLE9BQU8sQ0FBQztLQUN6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U8sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUE7SUFDeEIsTUFBTSxRQUFRLENBQUMsV0FBVyxFQUFFLENBQUE7QUFDOUIsQ0FBQyxDQUFBLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRztJQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUE7SUFDaEIsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQTtBQUNqQixDQUFDLENBQUMsQ0FBQTtBQUVKLFVBQVU7QUFDVixRQUFRLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQztLQUMzQixJQUFJLENBQUMsQ0FBTyxJQUFJO0lBQ2YsSUFBSSxVQUFVLEdBQUcsTUFBTSxTQUFTLENBQUMsVUFBVSxDQUFDLElBQUksRUFBRSxDQUFBO0lBQ2xELE1BQU0sVUFBVSxDQUFDLE9BQU8sRUFBRSxDQUFBO0lBQzFCLE1BQU0sUUFBUSxDQUFDLFdBQVcsRUFBRSxDQUFBO0FBQzlCLENBQUMsQ0FBQSxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUc7SUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFBO0lBQ2hCLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUE7QUFDakIsQ0FBQyxDQUFDLENBQUE7QUFFSixRQUFRLENBQUMsVUFBVSxFQUFFLENBQUEifQ==
|
@ -12,6 +12,7 @@ export type TBuildService = 'docker'
|
||||
* builds for a specific service
|
||||
*/
|
||||
export let build = async (argvArg): Promise<void> => {
|
||||
console.log(argvArg)
|
||||
let whatToPublish: string = argvArg._[1]
|
||||
switch (whatToPublish) {
|
||||
case 'docker':
|
||||
|
@ -14,6 +14,7 @@ smartcli.addVersion(npmciInfo.version)
|
||||
smartcli.addCommand('build')
|
||||
.then(async argvArg => {
|
||||
let modBuild = await npmciMods.modBuild.load()
|
||||
console.log(argvArg)
|
||||
await modBuild.build(argvArg)
|
||||
NpmciEnv.configStore()
|
||||
}).catch(err => {
|
||||
@ -65,9 +66,9 @@ smartcli.addCommand('install')
|
||||
|
||||
// prepare
|
||||
smartcli.addCommand('prepare')
|
||||
.then(async (argv) => {
|
||||
.then(async argvArg => {
|
||||
let modPrepare = await npmciMods.modPrepare.load()
|
||||
await modPrepare.prepare(argv._[1])
|
||||
await modPrepare.prepare(argvArg._[1])
|
||||
await NpmciEnv.configStore()
|
||||
}).catch(err => {
|
||||
console.log(err)
|
||||
@ -76,7 +77,7 @@ smartcli.addCommand('prepare')
|
||||
|
||||
// publish
|
||||
smartcli.addCommand('publish')
|
||||
.then(async (argvArg) => {
|
||||
.then(async argvArg => {
|
||||
let modPublish = await npmciMods.modPublish.load()
|
||||
await modPublish.publish(argvArg)
|
||||
await NpmciEnv.configStore()
|
||||
|
Loading…
Reference in New Issue
Block a user