Skip to content

Commit

Permalink
docs: bundle:fennec
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Sep 18, 2019
1 parent 088446b commit aeecbb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/firefox-for-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ To run your extension in [Firefox for Android](https://www.mozilla.org/en-US/fir

- [Set up your computer and Android emulator or device](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Developing_WebExtensions_for_Firefox_for_Android#Set_up_your_computer_and_Android_emulator_or_device) (enable Developer Mode, USB Debugging etc)

Build everything and switch `add-on/manifest.json` to Fennec profile:

```
npm run dev-build
npm run bundle:fennec
```

With device connected to your development computer, run:

```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"bundle:fennec": "shx cat add-on/manifest.common.json add-on/manifest.firefox.json add-on/manifest.fennec.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/fennec/ && run-s build:rename-artifacts",
"bundle:fennec:dev": "npm run bundle:fennec",
"bundle:fennec:stable": "npm run bundle:fennec",
"bundle:fennec:beta": "shx cat add-on/manifest.common.json add-on/manifest.firefox.json add-on/manifest.firefox-beta.json add-on/manifest.fennec.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/firefox-android/ && run-s build:rename-artifacts",
"bundle:fennec:beta": "shx cat add-on/manifest.common.json add-on/manifest.firefox.json add-on/manifest.firefox-beta.json add-on/manifest.fennec.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/fennec/ && run-s build:rename-artifacts",
"bundle:brave": "shx cat add-on/manifest.common.json add-on/manifest.brave.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/brave/ && run-s build:rename-artifacts",
"bundle:brave:dev": "npm run bundle:brave",
"bundle:brave:stable": "npm run bundle:brave",
Expand Down

0 comments on commit aeecbb5

Please sign in to comment.