add a task to check for warnings and fail if there were
Merge pull request #1 from ahum/fail-if-there-were-warnings

add a task to check for warnings and fail if there were any