Scripts to help building Electron
Перейти к файлу
Cheng Zhao 650e26f9e8 Update to latest build-tools 2022-04-26 19:48:06 +09:00
vendor/node_modules Support goma 2020-03-11 19:45:54 +09:00
.gclient Scripts for building Electron 2018-10-01 16:12:40 +09:00
.gitignore Support goma 2020-03-11 19:45:54 +09:00
.gitmodules Do not put depot_tools as submodules 2018-10-24 10:42:37 +09:00
README.md Move common.js out 2019-04-26 10:57:52 +09:00
bootstrap.js Update to latest build-tools 2022-04-26 19:48:06 +09:00
build.js Update to latest build-tools 2022-04-26 19:48:06 +09:00
common.js Force using python 2 2021-04-13 15:15:00 +09:00
test.js Add -m/-r 2021-02-25 10:51:12 +09:00

README.md

be

Scripts to help building Electron.

(I'm still exploring what's the best way, hold on using this.)

Usage

Bootstrap:

./bootstrap.js [--skip-gclient] [--no-history] [--force] [--args=""] [--target-cpu=x64] [--verbose]

Build:

./build.js [configuration] [--verbose]

Run tests:

./test.js [configuration] [--force-install-modules] [-arbitrary-args-passed-to-spec...]

Configuration names

This project uses following convention for configuration names.

  • Default maps to electron/build/args/testing.gn.
  • Release maps to electron/build/args/release.gn.
  • Debug maps to electron/build/args/debug.gn.
  • For x64 target, there is no suffix to configuration name.
  • For other targets, the configuration name has _ and target name as suffix, for example Default_x86.

Development conventions

  • No package.json or npm install.

License

Public domain.