2015-03-02 18:21:27 +00:00
|
|
|
index:
|
2015-03-05 00:10:08 +00:00
|
|
|
@TLDRHOME=`pwd` ./scripts/build_index.rb
|
2015-03-02 18:21:27 +00:00
|
|
|
@echo "Index rebuilt."
|
2015-04-09 12:19:48 +01:00
|
|
|
|
|
|
|
setup:
|
|
|
|
@cp ./scripts/pre-commit .git/hooks
|
|
|
|
@chmod +x .git/hooks/pre-commit
|
|
|
|
@echo "Git pre-commit hook installed."
|
2015-04-14 15:22:21 +01:00
|
|
|
|
|
|
|
@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 \;
|