[Resolved]How to rebuild electron?


#1

How to rebuild electron after succeeding electron? What i did are:

  • use ./script/build.py -c D to succeeding build electron
  • added file in atom/browser/api/mylib.cc and atom/browser/api/mylib.h
  • modify lib_sources in filenames.gpyi to add the two files added above
  • use ./script/build.py to build electron again

Then the output is ninja: Entering directory out/D ninja: no work to do..

Am i wrong?


#2

After reading the python scripts, i resolved it myself.

  • run ./script/update.py to update the ninja project file
  • run ./script/build.py