Datei: Make/HowToBuild.txt
Last Commit (e2d950d)
| 1 | The build is done by Make/build.cs, a C# file-based app (requires the .NET 10 SDK or later). |
| 2 | Concept and details: Concepts/BuildProcess.md |
| 3 | |
| 4 | To release a new version of a package: |
| 5 | |
| 6 | 1. Enter the new version in Make/packages.json. |
| 7 | ·· Dependent packages are bumped automatically. |
| 8 | 2. Check the plan: |
| 9 | ···· dotnet run Make/build.cs --dry-run |
| 10 | 3. Patch, build and collect the packages in BuiltPackages: |
| 11 | ···· dotnet run Make/build.cs |
| 12 | ·· Add --test to run the test projects as well. |
| 13 | |
| 14 | Other options: |
| 15 | ··--no-build·········· Patch versions and references only. |
| 16 | ··--all················Build all packages and all consumers. |
| 17 | ··--only <id>··········Build only this package. |
| 18 | ··--rebuild <id>······ Rebuild a package without a version change. |
| 19 | ··--no-consumers······ Do not build test projects and tools. |
| 20 | ··--bump patch|minor·· Propagation policy for dependent packages. |
| 21 | ··-c <config>··········Configuration of the packages. |
| 22 | |
| 23 | BuiltPackages is configured as package source in nuget.config. |
| 24 | NDOEnhancer.BuildTask (part of NDO.Build) needs a Visual Studio installation (MSBuild). |
| 25 |
New Commit (6e13ce2)
| 1 | The build is done by Make/build.cs, a C# file-based app (requires the .NET 10 SDK or later). |
| 2 | Concept and details: Concepts/BuildProcess.md |
| 3 | |
| 4 | To release a new version of a package: |
| 5 | |
| 6 | 1. Enter the new version in Make/packages.json. |
| 7 | ·· Dependent packages are bumped automatically. |
| 8 | 2. Check the plan: |
| 9 | ···· dotnet run Make/build.cs --dry-run |
| 10 | 3. Patch, build and collect the packages in BuiltPackages: |
| 11 | ···· dotnet run Make/build.cs |
| 12 | ·· Add --test to run the test projects as well. |
| 13 | |
| 14 | Other options: |
| 15 | ··--no-build·········· Patch versions and references only. |
| 16 | ··--all················Build all packages and all consumers. |
| 17 | ··--only <id>··········Build only this package. |
| 18 | ··--rebuild <id>······ Rebuild a package without a version change. |
| 19 | ··--no-consumers······ Do not build test projects and tools. |
| 20 | ··--bump patch|minor·· Propagation policy for dependent packages. |
| 21 | ··-c <config>··········Configuration of the packages. |
| 22 | |
| 23 | BuiltPackages is configured as package source in nuget.config. |
| 24 | Package projects reference each other through PackageReferences. In a fresh |
| 25 | clone, run the script once before building a solution in Visual Studio. |
| 26 | NDOEnhancer.BuildTask (part of NDO.Build) needs a Visual Studio installation (MSBuild). |
| 27 |