Last active
December 15, 2015 03:08
-
-
Save iwillspeak/5191785 to your computer and use it in GitHub Desktop.
Example Snooper configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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