From 9b61c270ab5ed15151a37526c134f588b004de1f Mon Sep 17 00:00:00 2001 From: Steve Hartzog Date: Thu, 17 Nov 2016 15:49:01 -0500 Subject: [PATCH] feat(aureliaCLICommands): add au run to command pallet Add au run command to the command pallet. --- dist/src/client/aureliaCLICommands.js | 2 +- dist/src/client/aureliaCLICommands.js.map | 2 +- src/client/aureliaCLICommands.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/src/client/aureliaCLICommands.js b/dist/src/client/aureliaCLICommands.js index 9bab273a..c093ec8f 100644 --- a/dist/src/client/aureliaCLICommands.js +++ b/dist/src/client/aureliaCLICommands.js @@ -14,7 +14,7 @@ const fs = require('fs'); const run_in_terminal_1 = require('run-in-terminal'); class AureliaCliCommands { static registerCommands(outputChannel) { - return vscode.Disposable.from(vscode.commands.registerCommand('extension.auNew', () => this.auNew(outputChannel)), vscode.commands.registerCommand('extension.auGenerate', () => this.auGenerate(outputChannel)), vscode.commands.registerCommand('extension.auTest', () => this.runCommand(['test'], outputChannel, false)), vscode.commands.registerCommand('extension.auBuild', () => this.auBuild(outputChannel))); + return vscode.Disposable.from(vscode.commands.registerCommand('extension.auNew', () => this.auNew(outputChannel)), vscode.commands.registerCommand('extension.auGenerate', () => this.auGenerate(outputChannel)), vscode.commands.registerCommand('extension.auTest', () => this.runCommand(['test'], outputChannel, false)), vscode.commands.registerCommand('extension.auBuild', () => this.auBuild(outputChannel)), vscode.commands.registerCommand('extension.auRun', () => this.runCommand(['run'], outputChannel, true))); } static auNew(outputChannel) { return __awaiter(this, void 0, void 0, function* () { diff --git a/dist/src/client/aureliaCLICommands.js.map b/dist/src/client/aureliaCLICommands.js.map index 50b46758..14674f9b 100644 --- a/dist/src/client/aureliaCLICommands.js.map +++ b/dist/src/client/aureliaCLICommands.js.map @@ -1 +1 @@ -{"version":3,"file":"aureliaCLICommands.js","sourceRoot":"","sources":["../../../src/client/aureliaCLICommands.ts"],"names":[],"mappings":";;;;;;;;;AAAA,MAAY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AY,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,IAAI,aAAa,CAAC,MAAM,CAAU,IAAI,CAAC,CAAC,CAAC;QAC5E,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,IAAI,aAAa,CAAC,MAAM,CAAU,IAAI,CAAC,CAAC,CAAC;QAE5E,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;IACjC,CAAC;IAED,OAAe,oBAAoB,CAAC,IAAc,EAAE,GAAW;QAC7D,+BAAa,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAC5D,CAAC;AACH,CAAC;AApFD;oCAoFC,CAAA"} \ No newline at end of file diff --git a/src/client/aureliaCLICommands.ts b/src/client/aureliaCLICommands.ts index 2e4c47cb..e0f42001 100644 --- a/src/client/aureliaCLICommands.ts +++ b/src/client/aureliaCLICommands.ts @@ -11,8 +11,8 @@ export default class AureliaCliCommands { vscode.commands.registerCommand('extension.auNew', () => this.auNew(outputChannel)), vscode.commands.registerCommand('extension.auGenerate', () => this.auGenerate(outputChannel)), vscode.commands.registerCommand('extension.auTest', () => this.runCommand(['test'], outputChannel, false)), - vscode.commands.registerCommand('extension.auBuild', () => this.auBuild(outputChannel))); - vscode.commands.registerCommand('extension.auRun', () => this.runCommand(['run'], outputChannel, true)), + vscode.commands.registerCommand('extension.auBuild', () => this.auBuild(outputChannel)), + vscode.commands.registerCommand('extension.auRun', () => this.runCommand(['run'], outputChannel, true))); } private static async auNew(outputChannel) {