Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jbhoot/pin-unpin-tab
Firefox add-on to pin or unpin current tab in more efficient ways.
https://github.com/jbhoot/pin-unpin-tab
firefox firefox-addon firefox-extension firefox-webextension melange ocaml
Last synced: about 1 month ago
JSON representation
Firefox add-on to pin or unpin current tab in more efficient ways.
- Host: GitHub
- URL: https://github.com/jbhoot/pin-unpin-tab
- Owner: jbhoot
- Created: 2013-12-11T19:25:54.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-17T05:29:48.000Z (over 1 year ago)
- Last Synced: 2024-10-30T11:41:28.350Z (3 months ago)
- Topics: firefox, firefox-addon, firefox-extension, firefox-webextension, melange, ocaml
- Language: OCaml
- Homepage: https://addons.mozilla.org/en-US/firefox/addon/pinunpin-tab/
- Size: 915 KB
- Stars: 38
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README-reviewers.md
Awesome Lists containing this project
README
# Guide to compile and test run the web extension
Instructions are tested on macOS.
The following code snippet couples the description (as a bash comment) and the command of each step.
```sh
# 0. Install nodejs and ensure that it is in the PATH.# 1. Install opam - OCaml's package manager.
# src: https://opam.ocaml.org/doc/Install.html
bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)"# 2. Initialise opam
opam init --bare# 3. Go to project's folder
cd pin-unpin-tab# 4. Set up a local opam switch with OCaml compiler version 4.14.1, and also install the project's opam dependencies.
A switch is roughly equivalent to a virtualenv in Python.
opam switch create . 4.14.1 -y --deps-only# 5. Bring the current shell env in sync with opam's env
eval $(opam env)# 6. Install npm dependencies
npm ci# 7a. Load the extension in dev mode
npm run test# 7b. Build the extension
npm run build:ext
```