Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.

Build Napa.js

Yulong Wang edited this page Aug 21, 2017 · 5 revisions

You may want to build and test 'napajs' from source code, this is especially helpful when you have a combination of OS/compiler/Node version that is not explicitly mentioned as supported.

1. Install prerequisites

2. Clone the source code

  • Enter command line
  • Enter the directory that napajs will be cloned in its sub-folder named 'napajs'
  • git clone https://github.com/Microsoft/napajs.git

3. Build

Run following command at the root directory of local repo:

npm install --no-fetch

4. Test

Enter the root directory of local repo in command line.

  • Run test: npm test
  • Run unittest: npm run unittest
Clone this wiki locally