vfabing / AzureVm

Azure DevOps Pipelines extension for starting and stopping Azure VM
https://marketplace.visualstudio.com/items?itemName=vfabing.AzureVirtualMachineManagerTask
MIT License
3 stars 3 forks source link

Initial Commit #1

Closed vfabing closed 5 years ago

vfabing commented 5 years ago

Initialization

At the azVmManagerTask folder level

npm init -f
npm install azure-pipelines-task-lib --save
npm install @types/node --save-dev
npm install @types/q --save-dev
tsc --init
npm install @types/mocha --save-dev

Run tests manually

At the src folder level

$env:TASK_TEST_TRACE=1
tsc
mocha tests/_suite.js

Build extension manually

At the src folder level

tfx extension create --manifest-globs vss-extension.json