diff --git a/.gitignore b/.gitignore index 6efe806..5f250c4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,25 +2,40 @@ [Bb]in/ [Oo]bj/ [Aa]rtifacts/ +[Bb]enchmark[Dd]ot[Nn]et.[Aa]rtifacts/ [Tt]est[Rr]esult*/ coverage/ *.coverage *.coveragexml +*.nupkg +*.snupkg # IDE and user-specific files .vs/ .vscode/ +.idea/ +.dotnet/ *.user +*.userprefs +*.rsuser *.suo *.userosscache *.sln.docstates +*.DotSettings.user # Local configuration and credentials .env .env.* !.env.example appsettings.Development.json +appsettings.Local.json +appsettings.*.local.json secrets.json +*.secrets.json +*.pfx +*.p12 +*.pem +*.key # Operating-system files .DS_Store diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5ad5c9f..84b9ebe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,18 +8,21 @@ backwards compatible unless a breaking change is explicitly planned. Install the SDK pinned in `global.json`, then run: ```bash -dotnet restore src/BinaryLane.Api/BinaryLane.Api.csproj --locked-mode -dotnet restore tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj --locked-mode -dotnet restore examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj --locked-mode -dotnet build src/BinaryLane.Api/BinaryLane.Api.csproj -c Release --no-restore -dotnet build tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-restore -dotnet build examples/BinaryLane.Api.Demo/BinaryLane.Api.Demo.csproj -c Release --no-restore -dotnet test tests/BinaryLane.Api.Tests/BinaryLane.Api.Tests.csproj -c Release --no-build +dotnet restore src/BinaryLane.Api/BinaryLane.Api.csproj --locked-mode --disable-parallel +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 --disable-parallel +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 -m:1 -nodeReuse:false -p:BuildInParallel=false +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 -m:1 -nodeReuse:false 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 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 `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. diff --git a/assets/package-icon-illustration.png b/assets/package-icon-illustration.png new file mode 100644 index 0000000..4c0af25 Binary files /dev/null and b/assets/package-icon-illustration.png differ diff --git a/assets/package-icon.svg b/assets/package-icon.svg deleted file mode 100644 index 8b52ee1..0000000 --- a/assets/package-icon.svg +++ /dev/null @@ -1,10 +0,0 @@ - - Abstract network route icon - - - - - - - - diff --git a/eng/test-demo-package.sh b/eng/test-demo-package.sh index 5e04939..92d1fc1 100755 --- a/eng/test-demo-package.sh +++ b/eng/test-demo-package.sh @@ -53,6 +53,7 @@ dotnet restore "$demo_project" \ --source "$package_directory" \ --source https://api.nuget.org/v3/index.json \ --no-cache \ + --disable-parallel \ -p:RestoreLockedMode=false dotnet build "$demo_project" \ --configuration Release \ diff --git a/src/BinaryLane.Api/icon.png b/src/BinaryLane.Api/icon.png index 12c644c..fda5adb 100644 Binary files a/src/BinaryLane.Api/icon.png and b/src/BinaryLane.Api/icon.png differ