Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cklutz committed Sep 6, 2017
1 parent a4a0338 commit d60be1e
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 5 deletions.
37 changes: 35 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,32 @@ Currently, there is only one task:

* [_RunOpenCover_](Tasks/RunOpenCover/README.md).

## Status

| | Build & Test |
|---|:-----:|
|![Win](docs/images/win_med.png) **Windows**|[![Build status](https://ci.appveyor.com/api/projects/status/ddr94r6onjfjro23?svg=true)](https://ci.appveyor.com/project/cklutz/my-vsts-tasks)|

## Build

### Fast pass

To build and test everything, simply use:

build-full.cmd

You will find packaged tasks in `_packages\tasks.zip`, from where you can [deploy/upload](#deploy-from-a-package) them.

### Manual steps

Once, install dependencies:

npm install

To increment all task's patch level - required to allow upload of a new version to VSTS/TFS:

node make.js bump

Build and test:

npm run build
Expand Down Expand Up @@ -42,7 +62,20 @@ fails).

### Deployment

tfx build tasks upload --task-path .\_build\Tasks\RunOpenCoverTask
#### Deploy a local build

To deploy the result of a local build (e.g. from cloning this repo):

tfx build tasks upload --task.path .\_build\Tasks\RunOpenCoverTask

Make sure to update at least the patch version in your `task.json` everytime you
redeploy a new version.
redeploy a new version (e.g. via `node make.js bump`).

#### Deploy from a package

To deploy the result of a release's `tasks.zip`:

7za x -o %TEMP%\tasks tasks.zip
tfx build tasks upload --task.path %TEMP%\tasks\RunOpenCoverTask


Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"loc.friendlyName": "Run OpenCover",
"loc.helpMarkDown": "[More information](https://github.com/cklutz/my-vsts-tasks/Tasks/RunOpenCover/README.md)",
"loc.helpMarkDown": "[More information](https://github.com/cklutz/my-vsts-tasks/blob/master/Tasks/RunOpenCover/README.md)",
"loc.description": "Runs VSTest under OpenCover",
"loc.instanceNameFormat": "Tests/Coverage - $(testAssembly)",
"loc.group.displayName.executionOptions": "Execution Options",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/RunOpenCover/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 10
"Patch": 11
},
"minimumAgentVersion": "1.95.0",
"instanceNameFormat": "Tests/Coverage - $(testAssembly)",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/RunOpenCover/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"version": {
"Major": 1,
"Minor": 0,
"Patch": 10
"Patch": 11
},
"minimumAgentVersion": "1.95.0",
"instanceNameFormat": "ms-resource:loc.instanceNameFormat",
Expand Down
Binary file added docs/images/win_med.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d60be1e

Please sign in to comment.