Remove lint-changed scipt, just make lint everything instead

waldyrious/alt-syntax
Igor Shubovych 2015-12-07 04:01:44 +02:00
parent cd9de52628
commit 1c30a89490
3 changed files with 2 additions and 11 deletions

View File

@ -20,7 +20,4 @@ deps:
lint:
@bundle exec mdl --style ./scripts/markdown-style.rb pages
lint-changed:
@./scripts/lint-changed.sh
.PHONY: default index setup hooks deps lint lint-changed
.PHONY: default index setup hooks deps lint

View File

@ -1,6 +0,0 @@
#!/bin/bash
MD_FILES=`git diff --cached --name-only | tr " " "\n" | egrep ^.*\.md$`
# Execute Markdown lint if any markdown files have been changed and added to git
[[ -z "$MD_FILES" ]] || GEM_PATH=.gem .gem/bin/mdl "$MD_FILES"

View File

@ -1,3 +1,3 @@
#!/bin/sh
make lint-changed
make lint