diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 1e37eb7b..00000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,30 +0,0 @@ -// Available variables which can be used inside of strings. -// ${workspaceRoot}: the root folder of the team -// ${file}: the current opened file -// ${fileBasename}: the current opened file's basename -// ${fileDirname}: the current opened file's dirname -// ${fileExtname}: the current opened file's extension -// ${cwd}: the current working directory of the spawned process - -// A task runner that calls a custom npm script that compiles the extension. -{ - "version": "0.1.0", - - // we want to run npm - "command": "npm", - - // the command is a shell script - "isShellCommand": true, - - // show the output window only if unrecognized errors occur. - "showOutput": "silent", - - // we run the custom script "compile" as defined in package.json - "args": ["run", "compile", "--loglevel", "silent"], - - // The tsc compiler is started in watching mode - "isBackground": true, - - // use the standard tsc in watch mode problem matcher to find compile problems in the output. - "problemMatcher": "$tsc-watch" -} \ No newline at end of file diff --git a/src/codeLens/cakeRunTaskCommand.ts b/src/codeLens/cakeRunTaskCommand.ts index 357154c4..250e7fcb 100644 --- a/src/codeLens/cakeRunTaskCommand.ts +++ b/src/codeLens/cakeRunTaskCommand.ts @@ -8,8 +8,8 @@ export async function installCakeRunTaskCommand( ) { const buildCommand = os.platform() === 'win32' - ? `powershell -ExecutionPolicy ByPass -File build.ps1 -script \"${fileName}\" -target \"${taskName}\" -verbosity=${runConfig.verbosity}` - : `./build.sh --script \"${fileName}\" --target=\"${taskName}\" --verbosity=${runConfig.verbosity}`; + ? `powershell -ExecutionPolicy ByPass -File build.ps1 -script \"${fileName}\" -target \"${taskName}\" -verbosity ${runConfig.verbosity}` + : `./build.sh --script=\"${fileName}\" --target=\"${taskName}\" --verbosity=${runConfig.verbosity}`; TerminalExecutor.runInTerminal(buildCommand); }