Add a README about quickjs-eval.js file (build and license)

This commit is contained in:
Calixte Denizet 2020-11-24 13:54:04 +01:00
parent d88d47d621
commit 8413a5865a

11
external/quickjs/README.md vendored Normal file
View File

@ -0,0 +1,11 @@
## Build
In order to generate the file `quickjs-eval.js`:
* git clone https://github.com/mozilla/pdf.js.quickjs/
* the build requires to have a [Docker](https://www.docker.com/) setup and then:
* `node build.js -C` to build the Docker image
* `node build.js -co /pdf.js/external/quickjs/` to compile the sandbox
## Licensing
[Quickjs](https://bellard.org/quickjs/) and [pdf.js.quickjs](https://github.com/mozilla/pdf.js.quickjs/) are released under [MIT](https://opensource.org/licenses/MIT) license so `quickjs-eval.js` is released under [MIT](https://opensource.org/licenses/MIT) license too.