Specify NodeJS as a required toolset to build this repo (#1065)

This commit is contained in:
Nate McMaster 2017-10-31 14:18:19 -07:00 committed by GitHub
parent 83bb07d5a4
commit 8a7f495141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -34,7 +34,7 @@ npm install @aspnet/signalr-client --registry https://dotnet.myget.org/f/aspnetc
## Building from source
To run a complete build on command line only, execute `build.cmd` or `build.sh` without arguments. The build requires NodeJS (6.11 or newer) and npm to be installed on the machine.
To run a complete build on command line only, execute `build.cmd` or `build.sh` without arguments. The build requires NodeJS (6.9 or newer) and npm to be installed on the machine.
Before opening this project in Visual Studio or VS Code, execute `build.cmd /t:Restore` (Windows) or `./build.sh /t:Restore` (Linux/macOS).
This will execute only the part of the build script that downloads and initializes a few required build tools and packages.

10
korebuild.json Normal file
View File

@ -0,0 +1,10 @@
{
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json",
"channel": "dev",
"toolsets": {
"nodejs": {
"required": true,
"minVersion": "6.9"
}
}
}