From 8413a5865a811edc6b797326183b48807fbdf26a Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Tue, 24 Nov 2020 13:54:04 +0100 Subject: [PATCH] Add a README about quickjs-eval.js file (build and license) --- external/quickjs/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 external/quickjs/README.md diff --git a/external/quickjs/README.md b/external/quickjs/README.md new file mode 100644 index 000000000..9877673c3 --- /dev/null +++ b/external/quickjs/README.md @@ -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.