mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Setup now installs markdown-lint. Make lint lints.
This commit is contained in:
parent
8ed9bc672f
commit
075c96c3ce
1 changed files with 6 additions and 0 deletions
6
Makefile
6
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 \;
|
||||
|
|
Loading…
Add table
Reference in a new issue