From e1bcea77b515c5e7772d4f453a4b7a101334df01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Sun, 9 Jun 2019 16:56:27 +0200 Subject: [PATCH] [REF] tools: rename extras into tools --- .gitignore | 2 +- README.md | 4 ++-- doc/tooling.md | 24 ++++++++++++++++++- extras/readme.md | 21 ---------------- package.json | 8 +++---- .../benchmarks/odoo-widgets-12.0/app.js | 0 .../benchmarks/odoo-widgets-12.0/index.html | 0 .../odoo-widgets-12.0/templates.xml | 0 .../odoo-widgets-12.0/web.assets_common.js | 0 .../benchmarks/odoo-widgets-12.3/app.js | 0 .../benchmarks/odoo-widgets-12.3/index.html | 0 .../odoo-widgets-12.3/templates.xml | 0 .../odoo-widgets-12.3/web.assets_common.js | 0 .../benchmarks/owl-0.10.0/app.js | 0 .../benchmarks/owl-0.10.0/index.html | 0 .../benchmarks/owl-0.10.0/owl.js | 0 .../benchmarks/owl-0.10.0/templates.xml | 0 .../benchmarks/owl-0.11.0/app.js | 0 .../benchmarks/owl-0.11.0/index.html | 0 .../benchmarks/owl-0.11.0/owl.js | 0 .../benchmarks/owl-0.11.0/templates.xml | 0 .../benchmarks/owl-0.12.0/app.js | 0 .../benchmarks/owl-0.12.0/index.html | 0 .../benchmarks/owl-0.12.0/owl.js | 0 .../benchmarks/owl-0.12.0/templates.xml | 0 .../benchmarks/owl-0.13.0/app.js | 0 .../benchmarks/owl-0.13.0/index.html | 0 .../benchmarks/owl-0.13.0/owl.js | 0 .../benchmarks/owl-0.13.0/templates.xml | 0 {extras => tools}/benchmarks/owl-0.7.0/app.js | 0 .../benchmarks/owl-0.7.0/index.html | 0 {extras => tools}/benchmarks/owl-0.7.0/owl.js | 0 .../benchmarks/owl-0.7.0/templates.xml | 0 {extras => tools}/benchmarks/owl-0.8.0/app.js | 0 .../benchmarks/owl-0.8.0/index.html | 0 .../benchmarks/owl-0.8.0/owl-0.8.0.js | 0 .../benchmarks/owl-0.8.0/templates.xml | 0 {extras => tools}/benchmarks/owl-0.9.0/app.js | 0 .../benchmarks/owl-0.9.0/index.html | 0 {extras => tools}/benchmarks/owl-0.9.0/owl.js | 0 .../benchmarks/owl-0.9.0/templates.xml | 0 .../benchmarks/owl-master/app.js | 0 .../benchmarks/owl-master/index.html | 0 .../benchmarks/owl-master/templates.xml | 0 {extras => tools}/benchmarks/react/app.js | 0 {extras => tools}/benchmarks/react/index.html | 0 .../react/react-dom.production.min.js | 0 .../benchmarks/react/react.production.min.js | 0 {extras => tools}/benchmarks/shared/main.css | 0 {extras => tools}/benchmarks/shared/utils.js | 0 {extras => tools}/benchmarks/vue/app.js | 0 {extras => tools}/benchmarks/vue/index.html | 0 {extras => tools}/benchmarks/vue/vue.js | 0 {extras => tools}/benchmarks/vue/vue.min.js | 0 {extras => tools}/index.html | 0 {extras => tools}/main.css | 0 {extras => tools}/playground/app.js | 0 {extras => tools}/playground/index.html | 0 .../playground/libs/FileSaver.min.js | 0 {extras => tools}/playground/libs/ace.js | 0 .../playground/libs/jszip.min.js | 0 {extras => tools}/playground/libs/mode-css.js | 0 .../playground/libs/mode-javascript.js | 0 {extras => tools}/playground/libs/mode-xml.js | 0 .../playground/libs/theme-monokai.js | 0 .../playground/libs/worker-javascript.js | 0 {extras => tools}/playground/playground.css | 0 {extras => tools}/playground/samples.js | 0 {extras => tools}/playground/templates.xml | 0 {extras => tools}/server.py | 4 ++-- 70 files changed, 32 insertions(+), 31 deletions(-) delete mode 100644 extras/readme.md rename {extras => tools}/benchmarks/odoo-widgets-12.0/app.js (100%) rename {extras => tools}/benchmarks/odoo-widgets-12.0/index.html (100%) rename {extras => tools}/benchmarks/odoo-widgets-12.0/templates.xml (100%) rename {extras => tools}/benchmarks/odoo-widgets-12.0/web.assets_common.js (100%) rename {extras => tools}/benchmarks/odoo-widgets-12.3/app.js (100%) rename {extras => tools}/benchmarks/odoo-widgets-12.3/index.html (100%) rename {extras => tools}/benchmarks/odoo-widgets-12.3/templates.xml (100%) rename {extras => tools}/benchmarks/odoo-widgets-12.3/web.assets_common.js (100%) rename {extras => tools}/benchmarks/owl-0.10.0/app.js (100%) rename {extras => tools}/benchmarks/owl-0.10.0/index.html (100%) rename {extras => tools}/benchmarks/owl-0.10.0/owl.js (100%) rename {extras => tools}/benchmarks/owl-0.10.0/templates.xml (100%) rename {extras => tools}/benchmarks/owl-0.11.0/app.js (100%) rename {extras => tools}/benchmarks/owl-0.11.0/index.html (100%) rename {extras => tools}/benchmarks/owl-0.11.0/owl.js (100%) rename {extras => tools}/benchmarks/owl-0.11.0/templates.xml (100%) rename {extras => tools}/benchmarks/owl-0.12.0/app.js (100%) rename {extras => tools}/benchmarks/owl-0.12.0/index.html (100%) rename {extras => tools}/benchmarks/owl-0.12.0/owl.js (100%) rename {extras => tools}/benchmarks/owl-0.12.0/templates.xml (100%) rename {extras => tools}/benchmarks/owl-0.13.0/app.js (100%) rename {extras => tools}/benchmarks/owl-0.13.0/index.html (100%) rename {extras => tools}/benchmarks/owl-0.13.0/owl.js (100%) rename {extras => tools}/benchmarks/owl-0.13.0/templates.xml (100%) rename {extras => tools}/benchmarks/owl-0.7.0/app.js (100%) rename {extras => tools}/benchmarks/owl-0.7.0/index.html (100%) rename {extras => tools}/benchmarks/owl-0.7.0/owl.js (100%) rename {extras => tools}/benchmarks/owl-0.7.0/templates.xml (100%) rename {extras => tools}/benchmarks/owl-0.8.0/app.js (100%) rename {extras => tools}/benchmarks/owl-0.8.0/index.html (100%) rename {extras => tools}/benchmarks/owl-0.8.0/owl-0.8.0.js (100%) rename {extras => tools}/benchmarks/owl-0.8.0/templates.xml (100%) rename {extras => tools}/benchmarks/owl-0.9.0/app.js (100%) rename {extras => tools}/benchmarks/owl-0.9.0/index.html (100%) rename {extras => tools}/benchmarks/owl-0.9.0/owl.js (100%) rename {extras => tools}/benchmarks/owl-0.9.0/templates.xml (100%) rename {extras => tools}/benchmarks/owl-master/app.js (100%) rename {extras => tools}/benchmarks/owl-master/index.html (100%) rename {extras => tools}/benchmarks/owl-master/templates.xml (100%) rename {extras => tools}/benchmarks/react/app.js (100%) rename {extras => tools}/benchmarks/react/index.html (100%) rename {extras => tools}/benchmarks/react/react-dom.production.min.js (100%) rename {extras => tools}/benchmarks/react/react.production.min.js (100%) rename {extras => tools}/benchmarks/shared/main.css (100%) rename {extras => tools}/benchmarks/shared/utils.js (100%) rename {extras => tools}/benchmarks/vue/app.js (100%) rename {extras => tools}/benchmarks/vue/index.html (100%) rename {extras => tools}/benchmarks/vue/vue.js (100%) rename {extras => tools}/benchmarks/vue/vue.min.js (100%) rename {extras => tools}/index.html (100%) rename {extras => tools}/main.css (100%) rename {extras => tools}/playground/app.js (100%) rename {extras => tools}/playground/index.html (100%) rename {extras => tools}/playground/libs/FileSaver.min.js (100%) rename {extras => tools}/playground/libs/ace.js (100%) rename {extras => tools}/playground/libs/jszip.min.js (100%) rename {extras => tools}/playground/libs/mode-css.js (100%) rename {extras => tools}/playground/libs/mode-javascript.js (100%) rename {extras => tools}/playground/libs/mode-xml.js (100%) rename {extras => tools}/playground/libs/theme-monokai.js (100%) rename {extras => tools}/playground/libs/worker-javascript.js (100%) rename {extras => tools}/playground/playground.css (100%) rename {extras => tools}/playground/samples.js (100%) rename {extras => tools}/playground/templates.xml (100%) rename {extras => tools}/server.py (93%) diff --git a/.gitignore b/.gitignore index 85e65d15..3f634e56 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,4 @@ package-lock.json node_modules # Extras temp file -/extras/owl.js \ No newline at end of file +/tools/owl.js \ No newline at end of file diff --git a/README.md b/README.md index 5bb64988..49592ee8 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,8 @@ Some npm scripts are available: | `npm run minify` | minify the prebuilt owl.js file | | `npm run test` | run all tests | | `npm run test:watch` | run all tests, and keep a watcher | -| `npm run extras` | build extras applications, start a static server (see [here](extras/readme.md)) | -| `npm run extras:watch` | same as `extras`, but with a watcher to rebuild owl | +| `npm run tools` | build tools applications, start a static server (see [here](tools/readme.md)) | +| `npm run tools:watch` | same as `tools`, but with a watcher to rebuild owl | ## Documentation diff --git a/doc/tooling.md b/doc/tooling.md index 93dd1a51..b9adc18b 100644 --- a/doc/tooling.md +++ b/doc/tooling.md @@ -1,5 +1,16 @@ # 🦉 Tooling 🦉 + +To help work/improve/learn with OWL, we have here: + +- a benchmarks application +- a playground application + +Both of them can be accessed by using a static http server. A simple python +server is available in `server.py`. There is also a npm script to start it: +`npm run extras` (and its version with a watcher: `npm run extras:watch`). + + ## Development mode By default, Owl is in *production* mode, this means that it will try to do its @@ -15,4 +26,15 @@ owl.__info__.mode = 'dev'; ``` Note that templates compiled with the `prod` settings will not be recompiled. -So, changing this setting is best done at startup. \ No newline at end of file +So, changing this setting is best done at startup. + +## Benchmarks + +The benchmarks application is a very small application, implemented in different +frameworks, and in different versions of Owl. This is a simple internal tool, +useful to compare various performance metrics on some tasks. + +## Playground + +The playground is an important application designed to help learning and +experimenting with Owl. It is available [online](https://odoo.github.io/owl/playground/). diff --git a/extras/readme.md b/extras/readme.md deleted file mode 100644 index b0d4729b..00000000 --- a/extras/readme.md +++ /dev/null @@ -1,21 +0,0 @@ -# 🦉 Extra Stuff 🦉 - -To help work/improve/learn with OWL, we have here: - -- a benchmarks application -- a playground application - -Both of them can be accessed by using a static http server. A simple python -server is available in `server.py`. There is also a npm script to start it: -`npm run extras` (and its version with a watcher: `npm run extras:watch`). - -## Benchmarks - -The benchmarks application is a very small application, implemented in different -frameworks, and in different versions of Owl. This is a simple internal tool, -useful to compare various performance metrics on some tasks. - -## Playground - -The playground is an important application designed to help learning and -experimenting with Owl. It is available [online](https://odoo.github.io/owl/playground/). diff --git a/package.json b/package.json index cd4a5461..9b8c4152 100644 --- a/package.json +++ b/package.json @@ -10,10 +10,10 @@ "minify": "uglifyjs dist/owl.js -o dist/owl.min.js --compress --mangle", "test": "jest", "test:watch": "jest --watch", - "extras:serve": "python3 extras/server.py || python extras/server.py", - "extras": "npm run build && npm run extras:serve", - "preextras:watch": "npm run build", - "extras:watch": "npm-run-all --parallel extras:serve \"build:* -- --watch\"" + "tools:serve": "python3 tools/server.py || python tools/server.py", + "tools": "npm run build && npm run tools:serve", + "pretools:watch": "npm run build", + "tools:watch": "npm-run-all --parallel tools:serve \"build:* -- --watch\"" }, "repository": { "type": "git", diff --git a/extras/benchmarks/odoo-widgets-12.0/app.js b/tools/benchmarks/odoo-widgets-12.0/app.js similarity index 100% rename from extras/benchmarks/odoo-widgets-12.0/app.js rename to tools/benchmarks/odoo-widgets-12.0/app.js diff --git a/extras/benchmarks/odoo-widgets-12.0/index.html b/tools/benchmarks/odoo-widgets-12.0/index.html similarity index 100% rename from extras/benchmarks/odoo-widgets-12.0/index.html rename to tools/benchmarks/odoo-widgets-12.0/index.html diff --git a/extras/benchmarks/odoo-widgets-12.0/templates.xml b/tools/benchmarks/odoo-widgets-12.0/templates.xml similarity index 100% rename from extras/benchmarks/odoo-widgets-12.0/templates.xml rename to tools/benchmarks/odoo-widgets-12.0/templates.xml diff --git a/extras/benchmarks/odoo-widgets-12.0/web.assets_common.js b/tools/benchmarks/odoo-widgets-12.0/web.assets_common.js similarity index 100% rename from extras/benchmarks/odoo-widgets-12.0/web.assets_common.js rename to tools/benchmarks/odoo-widgets-12.0/web.assets_common.js diff --git a/extras/benchmarks/odoo-widgets-12.3/app.js b/tools/benchmarks/odoo-widgets-12.3/app.js similarity index 100% rename from extras/benchmarks/odoo-widgets-12.3/app.js rename to tools/benchmarks/odoo-widgets-12.3/app.js diff --git a/extras/benchmarks/odoo-widgets-12.3/index.html b/tools/benchmarks/odoo-widgets-12.3/index.html similarity index 100% rename from extras/benchmarks/odoo-widgets-12.3/index.html rename to tools/benchmarks/odoo-widgets-12.3/index.html diff --git a/extras/benchmarks/odoo-widgets-12.3/templates.xml b/tools/benchmarks/odoo-widgets-12.3/templates.xml similarity index 100% rename from extras/benchmarks/odoo-widgets-12.3/templates.xml rename to tools/benchmarks/odoo-widgets-12.3/templates.xml diff --git a/extras/benchmarks/odoo-widgets-12.3/web.assets_common.js b/tools/benchmarks/odoo-widgets-12.3/web.assets_common.js similarity index 100% rename from extras/benchmarks/odoo-widgets-12.3/web.assets_common.js rename to tools/benchmarks/odoo-widgets-12.3/web.assets_common.js diff --git a/extras/benchmarks/owl-0.10.0/app.js b/tools/benchmarks/owl-0.10.0/app.js similarity index 100% rename from extras/benchmarks/owl-0.10.0/app.js rename to tools/benchmarks/owl-0.10.0/app.js diff --git a/extras/benchmarks/owl-0.10.0/index.html b/tools/benchmarks/owl-0.10.0/index.html similarity index 100% rename from extras/benchmarks/owl-0.10.0/index.html rename to tools/benchmarks/owl-0.10.0/index.html diff --git a/extras/benchmarks/owl-0.10.0/owl.js b/tools/benchmarks/owl-0.10.0/owl.js similarity index 100% rename from extras/benchmarks/owl-0.10.0/owl.js rename to tools/benchmarks/owl-0.10.0/owl.js diff --git a/extras/benchmarks/owl-0.10.0/templates.xml b/tools/benchmarks/owl-0.10.0/templates.xml similarity index 100% rename from extras/benchmarks/owl-0.10.0/templates.xml rename to tools/benchmarks/owl-0.10.0/templates.xml diff --git a/extras/benchmarks/owl-0.11.0/app.js b/tools/benchmarks/owl-0.11.0/app.js similarity index 100% rename from extras/benchmarks/owl-0.11.0/app.js rename to tools/benchmarks/owl-0.11.0/app.js diff --git a/extras/benchmarks/owl-0.11.0/index.html b/tools/benchmarks/owl-0.11.0/index.html similarity index 100% rename from extras/benchmarks/owl-0.11.0/index.html rename to tools/benchmarks/owl-0.11.0/index.html diff --git a/extras/benchmarks/owl-0.11.0/owl.js b/tools/benchmarks/owl-0.11.0/owl.js similarity index 100% rename from extras/benchmarks/owl-0.11.0/owl.js rename to tools/benchmarks/owl-0.11.0/owl.js diff --git a/extras/benchmarks/owl-0.11.0/templates.xml b/tools/benchmarks/owl-0.11.0/templates.xml similarity index 100% rename from extras/benchmarks/owl-0.11.0/templates.xml rename to tools/benchmarks/owl-0.11.0/templates.xml diff --git a/extras/benchmarks/owl-0.12.0/app.js b/tools/benchmarks/owl-0.12.0/app.js similarity index 100% rename from extras/benchmarks/owl-0.12.0/app.js rename to tools/benchmarks/owl-0.12.0/app.js diff --git a/extras/benchmarks/owl-0.12.0/index.html b/tools/benchmarks/owl-0.12.0/index.html similarity index 100% rename from extras/benchmarks/owl-0.12.0/index.html rename to tools/benchmarks/owl-0.12.0/index.html diff --git a/extras/benchmarks/owl-0.12.0/owl.js b/tools/benchmarks/owl-0.12.0/owl.js similarity index 100% rename from extras/benchmarks/owl-0.12.0/owl.js rename to tools/benchmarks/owl-0.12.0/owl.js diff --git a/extras/benchmarks/owl-0.12.0/templates.xml b/tools/benchmarks/owl-0.12.0/templates.xml similarity index 100% rename from extras/benchmarks/owl-0.12.0/templates.xml rename to tools/benchmarks/owl-0.12.0/templates.xml diff --git a/extras/benchmarks/owl-0.13.0/app.js b/tools/benchmarks/owl-0.13.0/app.js similarity index 100% rename from extras/benchmarks/owl-0.13.0/app.js rename to tools/benchmarks/owl-0.13.0/app.js diff --git a/extras/benchmarks/owl-0.13.0/index.html b/tools/benchmarks/owl-0.13.0/index.html similarity index 100% rename from extras/benchmarks/owl-0.13.0/index.html rename to tools/benchmarks/owl-0.13.0/index.html diff --git a/extras/benchmarks/owl-0.13.0/owl.js b/tools/benchmarks/owl-0.13.0/owl.js similarity index 100% rename from extras/benchmarks/owl-0.13.0/owl.js rename to tools/benchmarks/owl-0.13.0/owl.js diff --git a/extras/benchmarks/owl-0.13.0/templates.xml b/tools/benchmarks/owl-0.13.0/templates.xml similarity index 100% rename from extras/benchmarks/owl-0.13.0/templates.xml rename to tools/benchmarks/owl-0.13.0/templates.xml diff --git a/extras/benchmarks/owl-0.7.0/app.js b/tools/benchmarks/owl-0.7.0/app.js similarity index 100% rename from extras/benchmarks/owl-0.7.0/app.js rename to tools/benchmarks/owl-0.7.0/app.js diff --git a/extras/benchmarks/owl-0.7.0/index.html b/tools/benchmarks/owl-0.7.0/index.html similarity index 100% rename from extras/benchmarks/owl-0.7.0/index.html rename to tools/benchmarks/owl-0.7.0/index.html diff --git a/extras/benchmarks/owl-0.7.0/owl.js b/tools/benchmarks/owl-0.7.0/owl.js similarity index 100% rename from extras/benchmarks/owl-0.7.0/owl.js rename to tools/benchmarks/owl-0.7.0/owl.js diff --git a/extras/benchmarks/owl-0.7.0/templates.xml b/tools/benchmarks/owl-0.7.0/templates.xml similarity index 100% rename from extras/benchmarks/owl-0.7.0/templates.xml rename to tools/benchmarks/owl-0.7.0/templates.xml diff --git a/extras/benchmarks/owl-0.8.0/app.js b/tools/benchmarks/owl-0.8.0/app.js similarity index 100% rename from extras/benchmarks/owl-0.8.0/app.js rename to tools/benchmarks/owl-0.8.0/app.js diff --git a/extras/benchmarks/owl-0.8.0/index.html b/tools/benchmarks/owl-0.8.0/index.html similarity index 100% rename from extras/benchmarks/owl-0.8.0/index.html rename to tools/benchmarks/owl-0.8.0/index.html diff --git a/extras/benchmarks/owl-0.8.0/owl-0.8.0.js b/tools/benchmarks/owl-0.8.0/owl-0.8.0.js similarity index 100% rename from extras/benchmarks/owl-0.8.0/owl-0.8.0.js rename to tools/benchmarks/owl-0.8.0/owl-0.8.0.js diff --git a/extras/benchmarks/owl-0.8.0/templates.xml b/tools/benchmarks/owl-0.8.0/templates.xml similarity index 100% rename from extras/benchmarks/owl-0.8.0/templates.xml rename to tools/benchmarks/owl-0.8.0/templates.xml diff --git a/extras/benchmarks/owl-0.9.0/app.js b/tools/benchmarks/owl-0.9.0/app.js similarity index 100% rename from extras/benchmarks/owl-0.9.0/app.js rename to tools/benchmarks/owl-0.9.0/app.js diff --git a/extras/benchmarks/owl-0.9.0/index.html b/tools/benchmarks/owl-0.9.0/index.html similarity index 100% rename from extras/benchmarks/owl-0.9.0/index.html rename to tools/benchmarks/owl-0.9.0/index.html diff --git a/extras/benchmarks/owl-0.9.0/owl.js b/tools/benchmarks/owl-0.9.0/owl.js similarity index 100% rename from extras/benchmarks/owl-0.9.0/owl.js rename to tools/benchmarks/owl-0.9.0/owl.js diff --git a/extras/benchmarks/owl-0.9.0/templates.xml b/tools/benchmarks/owl-0.9.0/templates.xml similarity index 100% rename from extras/benchmarks/owl-0.9.0/templates.xml rename to tools/benchmarks/owl-0.9.0/templates.xml diff --git a/extras/benchmarks/owl-master/app.js b/tools/benchmarks/owl-master/app.js similarity index 100% rename from extras/benchmarks/owl-master/app.js rename to tools/benchmarks/owl-master/app.js diff --git a/extras/benchmarks/owl-master/index.html b/tools/benchmarks/owl-master/index.html similarity index 100% rename from extras/benchmarks/owl-master/index.html rename to tools/benchmarks/owl-master/index.html diff --git a/extras/benchmarks/owl-master/templates.xml b/tools/benchmarks/owl-master/templates.xml similarity index 100% rename from extras/benchmarks/owl-master/templates.xml rename to tools/benchmarks/owl-master/templates.xml diff --git a/extras/benchmarks/react/app.js b/tools/benchmarks/react/app.js similarity index 100% rename from extras/benchmarks/react/app.js rename to tools/benchmarks/react/app.js diff --git a/extras/benchmarks/react/index.html b/tools/benchmarks/react/index.html similarity index 100% rename from extras/benchmarks/react/index.html rename to tools/benchmarks/react/index.html diff --git a/extras/benchmarks/react/react-dom.production.min.js b/tools/benchmarks/react/react-dom.production.min.js similarity index 100% rename from extras/benchmarks/react/react-dom.production.min.js rename to tools/benchmarks/react/react-dom.production.min.js diff --git a/extras/benchmarks/react/react.production.min.js b/tools/benchmarks/react/react.production.min.js similarity index 100% rename from extras/benchmarks/react/react.production.min.js rename to tools/benchmarks/react/react.production.min.js diff --git a/extras/benchmarks/shared/main.css b/tools/benchmarks/shared/main.css similarity index 100% rename from extras/benchmarks/shared/main.css rename to tools/benchmarks/shared/main.css diff --git a/extras/benchmarks/shared/utils.js b/tools/benchmarks/shared/utils.js similarity index 100% rename from extras/benchmarks/shared/utils.js rename to tools/benchmarks/shared/utils.js diff --git a/extras/benchmarks/vue/app.js b/tools/benchmarks/vue/app.js similarity index 100% rename from extras/benchmarks/vue/app.js rename to tools/benchmarks/vue/app.js diff --git a/extras/benchmarks/vue/index.html b/tools/benchmarks/vue/index.html similarity index 100% rename from extras/benchmarks/vue/index.html rename to tools/benchmarks/vue/index.html diff --git a/extras/benchmarks/vue/vue.js b/tools/benchmarks/vue/vue.js similarity index 100% rename from extras/benchmarks/vue/vue.js rename to tools/benchmarks/vue/vue.js diff --git a/extras/benchmarks/vue/vue.min.js b/tools/benchmarks/vue/vue.min.js similarity index 100% rename from extras/benchmarks/vue/vue.min.js rename to tools/benchmarks/vue/vue.min.js diff --git a/extras/index.html b/tools/index.html similarity index 100% rename from extras/index.html rename to tools/index.html diff --git a/extras/main.css b/tools/main.css similarity index 100% rename from extras/main.css rename to tools/main.css diff --git a/extras/playground/app.js b/tools/playground/app.js similarity index 100% rename from extras/playground/app.js rename to tools/playground/app.js diff --git a/extras/playground/index.html b/tools/playground/index.html similarity index 100% rename from extras/playground/index.html rename to tools/playground/index.html diff --git a/extras/playground/libs/FileSaver.min.js b/tools/playground/libs/FileSaver.min.js similarity index 100% rename from extras/playground/libs/FileSaver.min.js rename to tools/playground/libs/FileSaver.min.js diff --git a/extras/playground/libs/ace.js b/tools/playground/libs/ace.js similarity index 100% rename from extras/playground/libs/ace.js rename to tools/playground/libs/ace.js diff --git a/extras/playground/libs/jszip.min.js b/tools/playground/libs/jszip.min.js similarity index 100% rename from extras/playground/libs/jszip.min.js rename to tools/playground/libs/jszip.min.js diff --git a/extras/playground/libs/mode-css.js b/tools/playground/libs/mode-css.js similarity index 100% rename from extras/playground/libs/mode-css.js rename to tools/playground/libs/mode-css.js diff --git a/extras/playground/libs/mode-javascript.js b/tools/playground/libs/mode-javascript.js similarity index 100% rename from extras/playground/libs/mode-javascript.js rename to tools/playground/libs/mode-javascript.js diff --git a/extras/playground/libs/mode-xml.js b/tools/playground/libs/mode-xml.js similarity index 100% rename from extras/playground/libs/mode-xml.js rename to tools/playground/libs/mode-xml.js diff --git a/extras/playground/libs/theme-monokai.js b/tools/playground/libs/theme-monokai.js similarity index 100% rename from extras/playground/libs/theme-monokai.js rename to tools/playground/libs/theme-monokai.js diff --git a/extras/playground/libs/worker-javascript.js b/tools/playground/libs/worker-javascript.js similarity index 100% rename from extras/playground/libs/worker-javascript.js rename to tools/playground/libs/worker-javascript.js diff --git a/extras/playground/playground.css b/tools/playground/playground.css similarity index 100% rename from extras/playground/playground.css rename to tools/playground/playground.css diff --git a/extras/playground/samples.js b/tools/playground/samples.js similarity index 100% rename from extras/playground/samples.js rename to tools/playground/samples.js diff --git a/extras/playground/templates.xml b/tools/playground/templates.xml similarity index 100% rename from extras/playground/templates.xml rename to tools/playground/templates.xml diff --git a/extras/server.py b/tools/server.py similarity index 93% rename from extras/server.py rename to tools/server.py index 97f901c5..9e726e90 100644 --- a/extras/server.py +++ b/tools/server.py @@ -6,7 +6,7 @@ from http.server import SimpleHTTPRequestHandler, HTTPServer HOST = '127.0.0.1' PORT = 8000 -URL = 'http://{0}:{1}/extras'.format(HOST, PORT) +URL = 'http://{0}:{1}/tools'.format(HOST, PORT) # We define our own handler here to remap owl.js GET requests to the Owl build @@ -15,7 +15,7 @@ URL = 'http://{0}:{1}/extras'.format(HOST, PORT) # we want to update the playground. class OWLHandler(SimpleHTTPRequestHandler): def do_GET(self): - if self.path == '/extras/owl.js': + if self.path == '/tools/owl.js': self.path = '/dist/owl.js' return SimpleHTTPRequestHandler.do_GET(self)