mirror of
https://github.com/alexhopeoconnor/binarylane-dotnet.git
synced 2026-10-04 02:18:11 +10:00
Add package branding and release hygiene
This commit is contained in:
+15
@@ -2,25 +2,40 @@
|
|||||||
[Bb]in/
|
[Bb]in/
|
||||||
[Oo]bj/
|
[Oo]bj/
|
||||||
[Aa]rtifacts/
|
[Aa]rtifacts/
|
||||||
|
[Bb]enchmark[Dd]ot[Nn]et.[Aa]rtifacts/
|
||||||
[Tt]est[Rr]esult*/
|
[Tt]est[Rr]esult*/
|
||||||
coverage/
|
coverage/
|
||||||
*.coverage
|
*.coverage
|
||||||
*.coveragexml
|
*.coveragexml
|
||||||
|
*.nupkg
|
||||||
|
*.snupkg
|
||||||
|
|
||||||
# IDE and user-specific files
|
# IDE and user-specific files
|
||||||
.vs/
|
.vs/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
.dotnet/
|
||||||
*.user
|
*.user
|
||||||
|
*.userprefs
|
||||||
|
*.rsuser
|
||||||
*.suo
|
*.suo
|
||||||
*.userosscache
|
*.userosscache
|
||||||
*.sln.docstates
|
*.sln.docstates
|
||||||
|
*.DotSettings.user
|
||||||
|
|
||||||
# Local configuration and credentials
|
# Local configuration and credentials
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
!.env.example
|
!.env.example
|
||||||
appsettings.Development.json
|
appsettings.Development.json
|
||||||
|
appsettings.Local.json
|
||||||
|
appsettings.*.local.json
|
||||||
secrets.json
|
secrets.json
|
||||||
|
*.secrets.json
|
||||||
|
*.pfx
|
||||||
|
*.p12
|
||||||
|
*.pem
|
||||||
|
*.key
|
||||||
|
|
||||||
# Operating-system files
|
# Operating-system files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
+10
-7
@@ -8,18 +8,21 @@ backwards compatible unless a breaking change is explicitly planned.
|
|||||||
Install the SDK pinned in `global.json`, then run:
|
Install the SDK pinned in `global.json`, then run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dotnet restore src/BinaryLane.Api/BinaryLane.Api.csproj --locked-mode
|
dotnet restore src/BinaryLane.Api/BinaryLane.Api.csproj --locked-mode --disable-parallel
|
||||||
dotnet restore tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --locked-mode
|
dotnet restore tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --locked-mode --disable-parallel
|
||||||
dotnet restore examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --locked-mode
|
dotnet restore examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --locked-mode --disable-parallel
|
||||||
dotnet build src/BinaryLane.Api/BinaryLane.Api.csproj -c Release --no-restore
|
dotnet build src/BinaryLane.Api/BinaryLane.Api.csproj -c Release --no-restore -m:1 -nodeReuse:false -p:BuildInParallel=false
|
||||||
dotnet build tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-restore
|
dotnet build tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-restore -m:1 -nodeReuse:false -p:BuildInParallel=false
|
||||||
dotnet build examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj -c Release --no-restore
|
dotnet build examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj -c Release --no-restore -m:1 -nodeReuse:false -p:BuildInParallel=false
|
||||||
dotnet test tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-build
|
dotnet test tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-build -m:1 -nodeReuse:false
|
||||||
dotnet format src/BinaryLane.Api/BinaryLane.Api.csproj --verify-no-changes --no-restore
|
dotnet format src/BinaryLane.Api/BinaryLane.Api.csproj --verify-no-changes --no-restore
|
||||||
dotnet format tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --verify-no-changes --no-restore
|
dotnet format tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --verify-no-changes --no-restore
|
||||||
dotnet format examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --verify-no-changes --no-restore
|
dotnet format examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --verify-no-changes --no-restore
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Run these commands sequentially. Do not run separate restore, build, test, or
|
||||||
|
pack commands concurrently on the same checkout.
|
||||||
|
|
||||||
The tracked demo application lives in
|
The tracked demo application lives in
|
||||||
`examples/BinaryLane.Api.Demo`. Configure a personal API token with user
|
`examples/BinaryLane.Api.Demo`. Configure a personal API token with user
|
||||||
secrets; never put it in a file, test fixture, issue, pull request, or commit.
|
secrets; never put it in a file, test fixture, issue, pull request, or commit.
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 794 KiB |
@@ -1,10 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256" role="img" aria-labelledby="title">
|
|
||||||
<title id="title">Abstract network route icon</title>
|
|
||||||
<rect width="256" height="256" rx="52" fill="#172554"/>
|
|
||||||
<path d="M66 82h55c19 0 35 16 35 35v57" fill="none" stroke="#67E8F9" stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/>
|
|
||||||
<path d="M100 174h35c19 0 35-16 35-35V82" fill="none" stroke="#A7F3D0" stroke-linecap="round" stroke-linejoin="round" stroke-width="24"/>
|
|
||||||
<circle cx="66" cy="82" r="17" fill="#F8FAFC"/>
|
|
||||||
<circle cx="100" cy="174" r="17" fill="#F8FAFC"/>
|
|
||||||
<circle cx="156" cy="174" r="17" fill="#F8FAFC"/>
|
|
||||||
<circle cx="170" cy="82" r="17" fill="#F8FAFC"/>
|
|
||||||
</svg>
|
|
||||||
|
Before Width: | Height: | Size: 727 B |
@@ -53,6 +53,7 @@ dotnet restore "$demo_project" \
|
|||||||
--source "$package_directory" \
|
--source "$package_directory" \
|
||||||
--source https://api.nuget.org/v3/index.json \
|
--source https://api.nuget.org/v3/index.json \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
|
--disable-parallel \
|
||||||
-p:RestoreLockedMode=false
|
-p:RestoreLockedMode=false
|
||||||
dotnet build "$demo_project" \
|
dotnet build "$demo_project" \
|
||||||
--configuration Release \
|
--configuration Release \
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 148 KiB |
Reference in New Issue
Block a user