0.0.11 • Published 8 months ago

yardman v0.0.11

Weekly downloads
66
License
ISC
Repository
github
Last release
8 months ago

npm version Build Status

yardman

The one that maintains the development yard. Watching files and running commands.

Installation

# Using Yarn
yarn add yardman

# Using npm
npm install yardman

Usage

yardman

Watch files and run commands.

Usage:
  yardman [options] [files ...] executable
  yardman [[options] [files ...] -exec executable ...] [options] [files ...] executable

Options:
  -h, --help               This help text
  -v, --version            Display version information
  -x, --exec=executable    Executable to run
  -n, --npm=script         Executable an npm script with the --silent flag
  -X, --no-start           Do not run the executable on start
  -w, --watch=files...     Comma separated list of files to monitor for change
  -S, --kill-signal=signal Set the kill signal (SIGTERM, SIGKILL), defaults to SIGTERM
  -d, --debounce=ms        Set the number of milliseconds to wait for before
                           executing the command after a file change. Useful
                           when switching branches while watching files.

Variables:
  file: The name of the file that just got updated is injected into the
  executable command with the template {{file}}

Example:
  yardman src make
  yardman src -x make build/result.exe ./test
  yardman src -x 'file {{file}}'

Configuration

Yardman can be configured by adding the command line arguments to the .yardmanrc file in the current working directory.

Example of a .yardmanrc

# Build project when files in src directory change.
src
-x make

# Run tests when the build is finished.
build/result.exe
./test
0.0.10

8 months ago

0.0.11

8 months ago

0.0.9

4 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago