add make build to makefile and elaborate on build steps in CONTRIBUTING - #1357.
This commit is contained in:
parent
4e24ae39cf
commit
c00f8dce3f
@ -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
|
||||||
|
|
||||||
|
|||||||
1
Makefile
1
Makefile
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user