Skip to content

Instantly share code, notes, and snippets.

@iwillspeak
Last active Dec 15, 2015
Embed
What would you like to do?
Example Snooper configuration file
# Snooper configuration file
# This is YAML
base_path: .
# default to watching the whole tree
paths:
# watch lex, c, and makefiles.
filters: [\.l$, \.c$, \.h$, \.mk$]
# ignore build output
ignored: build/ bin/ # Just want to split on whitespace? Sure!
# Default testing command, specify one to snooper to override
command: make retest
# Hooks, fire of a clean if one of the header files changes
hooks:
- pattern: \.h$
command: make clean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment