Skip to content

Instantly share code, notes, and snippets.

@iwillspeak
Last active December 15, 2015 03:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iwillspeak/5191785 to your computer and use it in GitHub Desktop.
Save iwillspeak/5191785 to your computer and use it in GitHub Desktop.
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