docs: begin writeup of guard

While writing this I realized that this really should be part of part_3_workflows.rst, so it'll eventually make it into there. But it's recorded in its unpolished form for now.
This commit is contained in:
Andy Meneely
2016-11-16 15:04:42 -05:00
parent 2bd6ef117f
commit 6807e0bce0
12 changed files with 141 additions and 4 deletions
+18
View File
@@ -0,0 +1,18 @@
group :characters do
guard 'rake', task: :characters do # when triggered, do "rake characters"
watch %r{src/characters.rb} # a regular expression that matches our file
watch %r{img/.*} # watch every file inside of our img directory
watch %r{.*\.xlsx$} # Any excel file, anywhere
watch %r{.*\.yml} # Any yml file, anywhere (config or layout)
end
end
group :skills do
guard 'rake', task: :skills do # when triggered, do "rake skills"
watch %r{src/skills.rb} # a regular expression that matches our file
watch %r{img/.*} # watch every file inside of our img directory
watch %r{.*\.xlsx$} # Any excel file, anywhere
watch %r{.*\.yml} # Any yml file, anywhere (config or layout)
end
end