chore(build): support generating compilation db (#12104)

This commit is contained in:
OJ Kwon 2018-04-08 22:54:14 -07:00 committed by Cheng Zhao
parent 6bfb122cd1
commit dabd61bf80
4 changed files with 31 additions and 2 deletions

View file

@ -56,6 +56,13 @@ $ cd electron
$ ./script/bootstrap.py -v
```
If you are using editor supports [JSON compilation database](http://clang.llvm.org/docs/JSONCompilationDatabase.html) based
language server, you can generate it:
```sh
$ ./script/build.py --compdb
```
## Building
Build both `Release` and `Debug` targets: