From 9314d8925e7e1bb96c1945df48c0f17eaef87111 Mon Sep 17 00:00:00 2001 From: TiagoDanin Date: Fri, 8 Dec 2017 11:24:05 -0300 Subject: [PATCH] fix formatting in upgrading chromium doc --- docs/development/upgrading-chromium.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/development/upgrading-chromium.md b/docs/development/upgrading-chromium.md index 3f450a85d86a..d00114338ab2 100644 --- a/docs/development/upgrading-chromium.md +++ b/docs/development/upgrading-chromium.md @@ -12,10 +12,11 @@ This is an overview of the steps needed to upgrade Chromium in Electron. ## Upgrade `libcc` to a new Chromium version 1. Get the code and initialize the project: - - ```sh + ```sh $ git clone git@github.com:electron/libchromiumcontent.git $ cd libchromiumcontent - $ ./script/bootstrap -v``` + $ ./script/bootstrap -v + ``` 2. Update the Chromium snapshot - Choose a version number from [OmahaProxy](https://omahaproxy.appspot.com/) and update the `VERSION` file with it @@ -47,18 +48,18 @@ This is an overview of the steps needed to upgrade Chromium in Electron. ## Update Electron's code 1. Get the code: - - ```sh - $ git clone git@github.com:electron/electron.git - $ cd electron - ``` + ```sh + $ git clone git@github.com:electron/electron.git + $ cd electron + ``` 2. If you have libcc built on your machine in its own repo, tell Electron to use it: - - ```sh - $ ./script/bootstrap.py -v \ - --libcc_source_path /src \ - --libcc_shared_library_path /shared_library \ - --libcc_static_library_path /static_library - ``` + ```sh + $ ./script/bootstrap.py -v \ + --libcc_source_path /src \ + --libcc_shared_library_path /shared_library \ + --libcc_static_library_path /static_library + ``` 3. If you haven't yet built libcc but it's already supposed to be upgraded to a new Chromium, bootstrap Electron as usual `$ ./script/bootstrap.py -v`