Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.12 KB

contribute.md

File metadata and controls

41 lines (26 loc) · 1.12 KB

Contribute (Dev)

Dev Dependencies

Win Git for Windows Install Here (needed for dev sh script)

Build, Test, Layout

From src:

Win dev {command}

*nix ./dev.sh {command}

Commands:

layout (l): Run first time to create a full agent layout in {root}/_layout

build (b): build everything and update agent layout folder

test (t): build agent binaries and run unit tests

Normal dev flow:

git clone https://github.com/microsoft/azure-pipelines-agent
cd ./src
./dev.(sh/cmd) layout # the agent that build from source is in {root}/_layout
<make code changes>
./dev.(sh/cmd) build # {root}/_layout will get updated
./dev.(sh/cmd) test # run all unit tests before git commit/push

Editors

Using Visual Studio 2017
Using Visual Studio Code

Styling

We use the dotnet foundation and CoreCLR style guidelines located here