This is meant to help as a guide when it comes to a Edge development workflow.
- Launch
Edge C__edge
commmand app located in your desktop and make sure it doesn't retrieve an error. - Checkout
main
branch usinggit checkout main
- Make sure to pull latest change using
git pull
- At this moment you can create your own development branch following this standard user/[your-user-name]/[branch-name-based-on-dev-work]. For example:
user/orodriguez/pi-feature-flag
- Execute
gclient sync -D
to recreate the dependencies tree - Generate
compile_commands.json
. Runvpython tools/clang/scripts/generate_compdb.py -p .\out\debug_x64\ -o compile_commands.json
- Run
autogn x64 debug
to create a version of Edge where you can debug your changes using VSCode - Run
autogn x64 release
before creating new PR in order to see you didn't break anything and your feature is working as expected - When above steps have been executed a new path will be created so you can navigate to it. Most likely, path generated will be something like
pushd C:\Edge\src\out\debug_x64
- Once in
pushd C:\Edge\src\out\debug_x64
you can executeautoninja chrome
every time you create a change in the source code