summaryrefslogtreecommitdiffstats
path: root/devtools/shared/sourcemap/UPGRADING.md
blob: 5a257f7e48844c8be9a4decc55d2ac4d119e2164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Rather than make changes to the built files here, make them upstream and then
upgrade our tree's copy of the built files.

To upgrade the source-map library:

    $ git clone https://github.com/mozilla/source-map.git
    $ cd source-map
    $ git checkout <latest-tagged-version>
    $ npm install
    $ npm run-script build  -or-  nodejs Makefile.dryice.js (if you have issues with npm)
    $ cp dist/source-map.js /path/to/mozilla-central/devtools/shared/sourcemap/source-map.js
    $ cp dist/test/* /path/to/mozilla-central/devtools/shared/sourcemap/tests/unit/