diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-10-06 08:40:24 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-10-06 08:40:24 +0300 |
commit | 764ca757a5584314c2a5515140b523f52c9d6997 (patch) | |
tree | 585ba3f994ca8392b5ee4f2097eda06990e0728c /Guardfile |
Init repo.
Diffstat (limited to 'Guardfile')
-rw-r--r-- | Guardfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Guardfile b/Guardfile new file mode 100644 index 00000000..a878a439 --- /dev/null +++ b/Guardfile @@ -0,0 +1,22 @@ +# A sample Guardfile +# More info at https://github.com/guard/guard#readme + +## Uncomment and set this to only include directories you want to watch +# directories %w(app lib config test spec features) \ +# .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")} + +## Note: if you are using the `directories` clause above and you are not +## watching the project directory ('.'), then you will want to move +## the Guardfile to a watched dir and symlink it back, e.g. +# +# $ mkdir config +# $ mv Guardfile config/ +# $ ln -s config/Guardfile . +# +# and, you'll have to watch "config/Guardfile" instead of "Guardfile" + +guard 'nanoc' do + watch('nanoc.yaml') # Change this to config.yaml if you use the old config file name + watch('Rules') + watch(%r{^(content|layouts|lib)/.*$}) +end |