Skip to content

LiquidityC/mon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and Check Coverity Scan

mon - react to changes in a file system path

mon Is a utility program that can trigger user provided shell commands when file system changes occur in a provided directory path. It can be useful if you want to trigger tests automatically while developing some code. Or automatically move new files once created. The main goal is to do it's job through a simple command line interface and not require any deep understanding of file system events.

Synopsis

mon -c COMMAND PATH

Examples

mon -c "make test" /path/to/dir

Compiling

In the source root type make. To build a release version use RELEASE_BUILD=1 make. You can also generate man files make man, this requires pandoc. Running tests and formatting the source code make check and make fmt require cppcheck and clang-format.

Installation

The command make install will build a file structure of the project in the linux format. By default this will b output into the <project-root>/out directory. This can be controlled by the PREFIX environment variable. Eg. PREFIX=~/.local make install. In most cases you will want to combine this with the RELEASE_BUILD environment variable. Eg. RELEASE_BUILD=1 PREFIX=~/.local make install

About

A file event monitor

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors