Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Commit 4f8056b

Browse files
author
John Luo
authored
Merge pull request #579 from dotnet/johluo/fix-install-instructions
Update developer guide
2 parents c60541b + 5ebf8f3 commit 4f8056b

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ while [[ -h $source ]]; do
1313
done
1414

1515
scriptroot="$( cd -P "$( dirname "$source" )" && pwd )"
16-
"$scriptroot/eng/common/build.sh" --pack --build --restore $@
16+
"$scriptroot/eng/common/build.sh" --build --restore $@

docs/developer_guide.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,26 @@ On macOS/Linux:
120120

121121
## Using local builds
122122

123-
The easiest way to use a custom build of tye is to `dotnet run -p <path to tye projet>`.
123+
The easiest way to use a custom build of tye is to `dotnet run -p <path to tye projet>`.
124124

125-
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.
125+
If you want to install your build as a dotnet global tool, that is possible as well with the following steps:
126+
127+
1. Building the repo and create packages in the artifacts folder that can be used
128+
129+
On Windows:
130+
131+
```ps1
132+
.\build.cmd -pack
133+
```
134+
135+
On macOS/Linux:
136+
137+
```bash
138+
./build.sh --pack
139+
```
140+
141+
2. Install the package
126142

127143
```sh
128-
dotnet install tye -g --version "0.1.0-dev" --add-source ./artifacts/packages/Debug/Shipping
144+
dotnet tool install microsoft.tye -g --version "0.4.0-dev" --add-source ./artifacts/packages/Debug/Shipping
129145
```

0 commit comments

Comments
 (0)