@reason-native-web/oopen

1.0.1 • Public • Published

oopen - OCaml-open

esyly open files, a verry thin wrapper around ocaml-open

Usage

Add this to your package.json/esy.json:

{
  "devDependencies": {
    "@reason-native-web/oopen": "*"
  }
}

Then use esy oopen your_file.html to open a html file in your browser of choise.

Usage with odoc

{
  "scripts": {
    "docs": "esy dune build @doc",
    "open-docs": "esy oopen #{self.target_dir}/default/_doc/_html/index.html"
  },
  "devDependencies": {
    "@reason-native-web/oopen": "*"
  }
}

Then run esy docs && esy open-docs to build and open the docs.

Readme

Keywords

none

Package Sidebar

Install

npm i @reason-native-web/oopen

Weekly Downloads

0

Version

1.0.1

License

none

Unpacked Size

5.14 kB

Total Files

9

Last publish

Collaborators

  • wokalski
  • cem2ran
  • ulrikstrid