summaryrefslogtreecommitdiffstats
path: root/devtools/shared/pretty-fast/UPGRADING.md
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/shared/pretty-fast/UPGRADING.md')
-rw-r--r--devtools/shared/pretty-fast/UPGRADING.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/devtools/shared/pretty-fast/UPGRADING.md b/devtools/shared/pretty-fast/UPGRADING.md
new file mode 100644
index 000000000..9758096eb
--- /dev/null
+++ b/devtools/shared/pretty-fast/UPGRADING.md
@@ -0,0 +1,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. \ No newline at end of file