New-VSCodeTask

1.0.0

The script makes VSCode tasks from Invoke-Build tasks. It creates tasks.cmd
and tasks.json in .\.vscode. The existing files are overridden. Change to
the VSCode workspace directory before invoking the script.

Do not edit tasks.json directly. Edit the build script instead. When you
add, remove, rename, reorder tasks, change tags or Invoke-Build location
then regenerat
The script makes VSCode tasks from Invoke-Build tasks. It creates tasks.cmd
and tasks.json in .\.vscode. The existing files are overridden. Change to
the VSCode workspace directory before invoking the script.

Do not edit tasks.json directly. Edit the build script instead. When you
add, remove, rename, reorder tasks, change tags or Invoke-Build location
then regenerate VSCode tasks.

The default task becomes a so called VSCode build task (Ctrl-Shift-B).
The default task is '.' if it exists, otherwise it is the first task.

In order to invoke another task from VSCode use Ctrl-P and type 'task'.
Then type a task name or select it from the opened list of all tasks.

Only tasks with certain names are included. They contain alphanumeric
characters, '_', '.', and '-', with the first character other than '-'.

In order to invoke some tasks in a console host outside VSCode specify the
tag #ConsoleHost in a comment preceding the task definition. Note that all
parent tasks in the task trees get this tag automatically.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name New-VSCodeTask -RequiredVersion 1.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Roman Kuzmin

Copyright

(c) 2011-2016 Roman Kuzmin

Owners

Tags

Invoke Task Invoke-Build VSCode

Functions

Add-Text Add-Line Test-ConsoleHost

Dependencies

This script has no dependencies.

Version History

Version Downloads Last updated
1.1.7 210 5/13/2018
1.1.6 27 3/20/2018
1.1.5 177 11/9/2017
1.1.4 18 11/1/2017
1.1.3 15 10/28/2017
1.1.2 115 7/12/2017
1.1.0 21 5/29/2017
1.0.1 20 3/2/2017
1.0.0 (current version) 49 6/20/2016
Show less