summaryrefslogtreecommitdiff
path: root/devtools/shared/pretty-fast/UPGRADING.md
blob: 9758096ebf5cc2e9c8d625493e67f80740af2da0 (plain)
1
2
3
4
5
6
7
8
9
10
11
# UPGRADING

1. `git clone https://github.com/mozilla/pretty-fast.git`

2. Copy `pretty-fast/pretty-fast.js` to `devtools/shared/pretty-fast/pretty-fast.js`

3. Copy `pretty-fast/test.js` to `devtools/shared/pretty-fast/tests/unit/test.js`

4. If necessary, upgrade acorn (see devtools/shared/acorn/UPGRADING.md)

5. Replace `acorn/dist/` with `acorn/` in pretty-fast.js.