This repository is for me to see how to build, test, package and publish an Azure DevOps Extension.
The shovel/shovel.py
holds the actual tasks that are performed to build and
publish the ADO Extension. The Tasks being created are stored in tasks/
. This
is useful for making an Extension with multiple tasks.
- NodeJS + TypeScript
- Windows: nvm-windows
- Linux/MacOS: nvm-sh
- Python 3 + pip (For the shovel task runner)
Install the Python 3 dependencies:
python -m pip install --upgrade pip
python -m pip install -r python-3-requirements.txt
Then build the package.
shovel build
This will cd tasks/buildAndReleaseTask/
then execute ./node_modules/.bin/tsc
via npm
's s script functionality.
Package the ADO Extension
shovel package
This will execute the tfx
CLI client to package the ADO Extension.