Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 Assuming that acorn's dependencies have not changed, to upgrade our tree's
2 acorn to a new version:
4 1. Clone the acorn repository, and check out the version you want to upgrade
5 to:
7 $ git clone https://github.com/marijnh/acorn.git
8 $ cd acorn
9 $ git checkout <version>
11 2. Make sure that all tests pass:
13 $ npm install .
14 $ npm test
16 If there are any test failures, do not upgrade to that version of acorn!
18 3. Copy acorn.js to our tree:
20 $ cp acorn.js /path/to/mozilla-central/toolkit/devtools/acorn/acorn.js
22 4. Copy acorn_loose.js to our tree:
24 $ cp acorn_loose.js /path/to/mozilla-central/toolkit/devtools/acorn/acorn_loose.js
26 5. Copy util/walk.js to our tree:
28 $ cp util/walk.js /path/to/mozilla-central/toolkit/devtools/acorn/walk.js