diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-08-30 19:47:40 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-08-30 19:47:40 +0200 |
| commit | ec4adc33ec00dfe4a5720a13551428aaddaf72d9 (patch) | |
| tree | 75411820c642b9c3ae2962cc4746c532c8a1ce17 | |
| parent | 4ab9ded462b34c26c46d7ab5af1fbe3973d922c9 (diff) | |
Add packaging info
| -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. |