diff options
| -rw-r--r-- | Makefile | 9 | ||||
| -rw-r--r-- | README.md | 5 |
2 files changed, 12 insertions, 2 deletions
@@ -8,5 +8,10 @@ start: docker-build: docker-compose build -package: - cd extension && zip -r ../junction.xpi manifest.json junction.js build/content_script.js icons/ sounds/ +package: package-for-firefox + +package-for-firefox: create-build-folder + cd extension && zip -r ../build/junction.xpi manifest.json junction.js build/content_script.js icons/ sounds/ + +create-build-folder: + mkdir -p build @@ -23,3 +23,8 @@ This will enable the extension and will allow you to use the inspector to debug. In order to test on chrome, first go to `chrome://extensions/`. Make sure `Developer mode` is enabled. Then click `Load Unpacked` and point the browser to the `extension` directory. + +### Packaging + +The makefile includes scripts to create a distributable package. `make package` +should generate all supported files in the `build/` directory. |