mirror of https://github.com/CrimsonTome/tldr.git
Merge pull request #347 from igorshubovych/optimize-lint
Optimize make lint taskwaldyrious/alt-syntax
commit
f3fb8a5f04
|
@ -11,7 +11,7 @@ gemfile:
|
|||
- Gemfile
|
||||
|
||||
script:
|
||||
- make check
|
||||
- make lint
|
||||
|
||||
after_success:
|
||||
- bash scripts/build.sh
|
||||
|
|
9
Makefile
9
Makefile
|
@ -1,4 +1,4 @@
|
|||
default: check
|
||||
default: lint
|
||||
|
||||
all: setup index
|
||||
|
||||
|
@ -17,13 +17,10 @@ deps:
|
|||
@bundle
|
||||
@echo "OK"
|
||||
|
||||
check:
|
||||
@bundle exec mdl --style ./scripts/markdown-style.rb pages
|
||||
|
||||
lint:
|
||||
@GEM_PATH=.gem find pages -exec mdl {} --style ./scripts/markdown-style.rb 1>&2 \;
|
||||
@bundle exec mdl --style ./scripts/markdown-style.rb pages
|
||||
|
||||
lint-changed:
|
||||
@./scripts/lint-changed.sh
|
||||
|
||||
.PHONY: index setup hooks deps lint lint-changed
|
||||
.PHONY: default index setup hooks deps lint lint-changed
|
||||
|
|
Loading…
Reference in New Issue