Skip to content

Commit

Permalink
Merge pull request #7 from rishi255/main
Browse files Browse the repository at this point in the history
Fix firefox alarm bug
  • Loading branch information
rishi255 authored Jan 22, 2022
2 parents de5572f + dfcff36 commit 2a6a9f7
Show file tree
Hide file tree
Showing 8 changed files with 570 additions and 1,232 deletions.
6 changes: 6 additions & 0 deletions AMO-build-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
npm install -g web-ext
npm run build
# the above line creates a folder called "build" that contains bundled code
cd build
web-ext build
# now the zip file will be created inside web-ext-artifacts/
19 changes: 19 additions & 0 deletions AMO-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Build instructions for [addons.mozilla.org](https://addons.mozilla.org) reviewers

The extension file submitted is a zip file with the naming format kontest_reminder-\<version>.zip.

The source code is also available on [Github](https://github.com/nisarg0/kontest-reminder).

This extension uses [browser-polyfill.js from Mozilla's webextension-polyfill repository](https://github.com/mozilla/webextension-polyfill/blob/0.8.0/src/browser-polyfill.js).

It also uses [web-ext by Mozilla](https://github.com/mozilla/web-ext) to build the extension and test it.

Operating system used for build: Windows 10 (will work on any OS).

Command used to generate source code zip file:

```bash
zip -r source-code.zip * -x "build/*" "dev/*" "node_modules/*" ".cache/*" *.zip "web-ext-artifacts/*"
```

To build the extension from source using web-ext, run the file AMO-build-script.sh present in this directory.
Loading

0 comments on commit 2a6a9f7

Please sign in to comment.