toolkit/devtools/acorn/UPGRADING.md

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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

mercurial