1
- Notes about the icu directory.
2
- ===
1
+ # Notes about the icu directory.
3
2
4
- How to upgrade ICU
5
- ---
3
+ ## How to upgrade ICU
6
4
7
5
- Make sure your node workspace is clean (clean ` git status ` ) should be sufficient.
8
6
- Configure Node with the specific [ ICU version] ( http://icu-project.org/download ) you want to upgrade to, for example:
9
7
10
- ```
8
+ ``` shell
11
9
./configure \
12
10
--with-intl=small-icu \
13
11
--with-icu-source=http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.zip
@@ -21,7 +19,7 @@ version specific stuff)
21
19
22
20
- Verify the node build works
23
21
24
- ```
22
+ ``` shell
25
23
make test-ci
26
24
```
27
25
@@ -36,15 +34,15 @@ Also running
36
34
37
35
- Now, copy ` deps/icu ` over to ` deps/icu-small `
38
36
39
- ```
37
+ ``` shell
40
38
python tools/icu/shrink-icu-src.py
41
39
```
42
40
43
41
- Now, do a clean rebuild of node to test:
44
42
45
43
(TODO: fix this when these options become default)
46
44
47
- ```
45
+ ``` shell
48
46
./configure --with-intl=small-icu --with-icu-source=deps/icu-small
49
47
make
50
48
```
@@ -64,7 +62,7 @@ This is a big commit, so make this a separate commit from other changes.
64
62
the ` configure_intl() ` function. It should match the ICU URL used in the
65
63
first step. When this is done, the following should build with full ICU.
66
64
67
- ```
65
+ ``` shell
68
66
# clean up
69
67
rm -rf out deps/icu deps/icu4c*
70
68
./configure --with-intl=full-icu --download=all
@@ -76,8 +74,7 @@ make test-ci
76
74
77
75
-----
78
76
79
- Notes about these tools
80
- ---
77
+ ## Notes about these tools
81
78
82
79
The files in this directory were written for the node.js effort. It's
83
80
the intent of their author (Steven R. Loomis / srl295) to merge them
0 commit comments