gsf / cr

change-run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cr is short for change-run. It runs a command with every change to the working
directory tree. Usage example:

    $ cr bazel test --test_output=errors ...

cr depends on inotifywait, usually found in the inotify-tools package.

For use in docker, include these lines in the Dockerfile:

    RUN wget https://raw.githubusercontent.com/gsf/cr/master/cr \
      && chmod +x cr \
      && mv cr /usr/local/bin/

About

change-run


Languages

Language:Shell 100.0%