From fe69d0d0a410493abe9867916c42ee372c3b261f Mon Sep 17 00:00:00 2001 From: Сковорода Никита Андреевич Date: Sat, 6 Aug 2016 13:58:55 +0300 Subject: tools: clean up icu/README.md formatting 1. Normalize headings. 2. Specify language in all code blocks. PR-URL: https://github.com/nodejs/node/pull/8660 Reviewed-By: Rich Trott Reviewed-By: Anna Henningsen --- tools/icu/README.md | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/tools/icu/README.md b/tools/icu/README.md index 6c08bf1598..2e53563cdd 100644 --- a/tools/icu/README.md +++ b/tools/icu/README.md @@ -1,13 +1,11 @@ -Notes about the icu directory. -=== +# Notes about the icu directory. -How to upgrade ICU ---- +## How to upgrade ICU - Make sure your node workspace is clean (clean `git status`) should be sufficient. - Configure Node with the specific [ICU version](http://icu-project.org/download) you want to upgrade to, for example: -``` +```shell ./configure \ --with-intl=small-icu \ --with-icu-source=http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.zip @@ -21,7 +19,7 @@ version specific stuff) - Verify the node build works -``` +```shell make test-ci ``` @@ -36,7 +34,7 @@ Also running - Now, copy `deps/icu` over to `deps/icu-small` -``` +```shell python tools/icu/shrink-icu-src.py ``` @@ -44,7 +42,7 @@ python tools/icu/shrink-icu-src.py (TODO: fix this when these options become default) -``` +```shell ./configure --with-intl=small-icu --with-icu-source=deps/icu-small make ``` @@ -64,7 +62,7 @@ This is a big commit, so make this a separate commit from other changes. the `configure_intl()` function. It should match the ICU URL used in the first step. When this is done, the following should build with full ICU. -``` +```shell # clean up rm -rf out deps/icu deps/icu4c* ./configure --with-intl=full-icu --download=all @@ -76,8 +74,7 @@ make test-ci ----- -Notes about these tools ---- +## Notes about these tools The files in this directory were written for the node.js effort. It's the intent of their author (Steven R. Loomis / srl295) to merge them -- cgit v1.2.3