diff --git a/build.sh b/build.sh index 31543ff3..1467a1da 100755 --- a/build.sh +++ b/build.sh @@ -13,4 +13,4 @@ while [[ -h $source ]]; do done scriptroot="$( cd -P "$( dirname "$source" )" && pwd )" -"$scriptroot/eng/common/build.sh" --pack --build --restore $@ \ No newline at end of file +"$scriptroot/eng/common/build.sh" --build --restore $@ \ No newline at end of file diff --git a/docs/developer_guide.md b/docs/developer_guide.md index 9706093f..f1bd03d7 100644 --- a/docs/developer_guide.md +++ b/docs/developer_guide.md @@ -120,10 +120,26 @@ On macOS/Linux: ## Using local builds -The easiest way to use a custom build of tye is to `dotnet run -p `. +The easiest way to use a custom build of tye is to `dotnet run -p `. -If you want to install your build as a dotnet global tool, that is possible as well. Building the repo will create packages in the artifacts folder that can be used. +If you want to install your build as a dotnet global tool, that is possible as well with the following steps: + +1. Building the repo and create packages in the artifacts folder that can be used + +On Windows: + +```ps1 +.\build.cmd -pack +``` + +On macOS/Linux: + +```bash +./build.sh --pack +``` + +2. Install the package ```sh -dotnet install tye -g --version "0.1.0-dev" --add-source ./artifacts/packages/Debug/Shipping +dotnet tool install microsoft.tye -g --version "0.4.0-dev" --add-source ./artifacts/packages/Debug/Shipping ``` \ No newline at end of file