Skip to content

Commit 4a7c233

Browse files
committed
Updated build instructions
1 parent f28dfb3 commit 4a7c233

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/building/netcoreapp3.1-instructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ ML.NET source code files build for .NET Core 3.1 and .NET Standard 2.0. However,
55

66
To run tests on .NET Core 3.1, you need to do a few manual steps.
77

8-
1. Run `.\build.cmd -- /p:Configuration=Release-netcoreapp3_1` or `.\build.cmd -Release-netcoreapp3_1` from the root of the repo.
9-
2. If you want to build the NuGet packages, `.\build.cmd -buildPackages` after step 1.
8+
1. Run `.\build.cmd -configuration Debug-netcoreapp3_1` or `.\build.cmd -configuration Release-netcoreapp3_1` from the root of the repo.
9+
2. If you want to build the NuGet packages, `.\build.cmd -pack` after step 1.
1010

1111
If you are using Visual Studio, you will need to do the following:
1212

docs/building/unix-instructions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ On macOS a few components are needed which are not provided by a default develop
4848
* libomp 7
4949
* libgdiplus
5050
* gettext
51-
* All the requirements necessary to run .NET Core 3.1 applications. To view macOS prerequisites click [here](https://docs.microsoft.com/en-us/dotnet/core/macos-prerequisites?tabs=netcore30).
51+
* All the requirements necessary to run .NET Core 3.1 applications. To view macOS prerequisites click [here](https://docs.microsoft.com/en-us/dotnet/core/install/macos?tabs=netcore31#dependencies).
5252

5353
One way of obtaining CMake and other required libraries is via [Homebrew](https://brew.sh):
5454
```sh

docs/building/windows-instructions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ You can use the Developer Command Prompt, Powershell or work in any regular cmd.
5656
From a (non-admin) Command Prompt window:
5757

5858
- `build.cmd` - builds the assemblies
59-
- `build.cmd -runTests` - called after a normal "build.cmd" will run all tests
60-
- `build.cmd -buildPackages` called after a normal “build.cmd” will create the NuGet packages with the assemblies in “bin"
59+
- `build.cmd -test` - called after a normal "build.cmd" will run all tests
60+
- `build.cmd -pack` called after a normal “build.cmd” will create the NuGet packages with the assemblies in `artifacts\packages`"
6161

6262
**Note**: Before working on individual projects or test projects you **must** run `build.cmd` from the root once before beginning that work. It is also a good idea to run `build.cmd` whenever you pull a large set of unknown changes into your branch.
6363

@@ -69,7 +69,7 @@ After successfully building, run tests in the Visual Studio Test Explorer window
6969

7070
### Running tests from the command line
7171

72-
From the root, run `build.cmd` and then `build.cmd -runTests`.
72+
From the root, run `build.cmd` and then `build.cmd -test`.
7373
For more details, or to test an individual project, you can navigate to the test project directory and then use `dotnet test`
7474

7575
## Known Issues

0 commit comments

Comments
 (0)