add make build to makefile and elaborate on build steps in CONTRIBUTING - #1357.

This commit is contained in:
Sebastian McKenzie 2015-04-27 03:16:39 +01:00
parent 4e24ae39cf
commit c00f8dce3f
2 changed files with 9 additions and 5 deletions

View File

@ -29,16 +29,19 @@ $ cd babel
$ make bootstrap $ make bootstrap
``` ```
Then you need to run: Then you can either run:
```sh
$ make build-core
```
to build Babel **once** or:
```sh ```sh
$ make watch-core $ make watch-core
``` ```
This will compile Babel and then sit in the background and on file modification to have Babel build itself then incrementally build files on change.
recompile the necessary files. Babel itself is written in ES6. The source files
reside in `src/` and transpile to `lib/`
#### Running tests #### Running tests

View File

@ -118,3 +118,4 @@ bootstrap:
cd packages/babel-cli && npm install && npm link && npm link babel-core cd packages/babel-cli && npm install && npm link && npm link babel-core
git submodule update --init git submodule update --init
cd vendor/compat-table && npm install object-assign cd vendor/compat-table && npm install object-assign
make build