From 8a7f4951415b1b04c989a5a9f13744dab812c6b5 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Tue, 31 Oct 2017 14:18:19 -0700 Subject: [PATCH] Specify NodeJS as a required toolset to build this repo (#1065) --- README.md | 2 +- korebuild.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 korebuild.json diff --git a/README.md b/README.md index 05026d881c..99df101349 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/korebuild.json b/korebuild.json new file mode 100644 index 0000000000..147edd8750 --- /dev/null +++ b/korebuild.json @@ -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" + } + } +}