diff --git a/Makefile b/Makefile index c007da19ea..783f691aeb 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,9 @@ setup: @cp ./scripts/pre-commit .git/hooks @chmod +x .git/hooks/pre-commit @echo "Git pre-commit hook installed." + + @gem install mdl --install-dir .gem + @echo "Installed required Ruby gems under .gem" + +lint: + @GEM_PATH=.gem PATH=$(PATH):.gem/bin find pages -exec mdl {} --style ./scripts/markdown-style.rb 1>&2 \;