As Scott Hanselman says, "donations pay for tacos" (or low carb equivalent).
This repo contains custom tasks that meant to be used with Visual Studio Online and Team Foundation Server.
Use yarn to build and test these extensions. All yarn scripts are specified in the package.json file. Run yarn run to get a prompt of all the targets. The most important are:
install: install dependencies in root folder.install-libsinstall dependencies in each Task folder (required since each task has to be self-contained).testto run tests.debugtestto run tests with verbose logging.coverto run tests with code coverage.prepextensionto runinstallandcoverage(used to package the extension in the build).
The following tasks are available:
-
Version Assemblies
This task versions assemblies according to the build number. More...
-
Replace Tokens
This task replaces tokens in a file using Environment variables. More...
-
DacPac Change Report Task
This task calculates the changes in an SSDT project between builds. More...
-
Tokenizer
This task tokenizes a file automatically. More...
-
Coverage Gate
This task allows you to fail a release (or build) based of coverage delta. More...
The easiest way to open the source is to clone the repo and open in VSCode. If you change the .ts files, then run build (ctrl-shift-b) to compile the .js files.
Help Pages can be found here.
To compile the extension, update the version number in the extension-manifest.json file and run:
tfx extension create --manifest-globs .\vss-extension.json
Upload to the marketplace by singing in to your publisher profile.
