package ojo

All checked builds pass
  1. Overview
  2. Docs
CLI tool to watch for change in the specified files

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.2.1.tar.gz
md5=ca10a8bf20f26306f78cf1331f12fca5
sha512=25f26a8f8a169eb28261de8a812d35cabd96a92e885b7324ce7331362e61960b6f5ca20f6ed1cedf8c80f1e313af8fcb114c31ed85aba4f1f31e03c1a94d6e71

Description

Ojo is a CLI toot that executes a given command each time a specified file or directory content is modified

Added to opam-repository:

README

Ojo

Ojo is a simple CLI tool that allows you to execute a specific command each time the specified file or directory is being modified.

Usage

Let's say that you are sick of running the following pandoc command pandoc --toc -s test.md -o test.html each time you do some minor modifications to your test.md file.

Ojo automates the command execution by specifying a file that is being watched and the command to be run each time the watched file is modified.

Specify the file and the command as shown below and voilà!

ojo test/test.md -x "pandoc --toc -s test/test.md -o test/test.html" 

Dependencies (2)

  1. dune >= "3.6"
  2. ocaml >= "4.14"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building ojo with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2.1 (this version) n/a good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure