1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 06:40:06 +02:00

add cache flag to lint task

fixes: #419
This commit is contained in:
Alex Windett 2017-04-06 11:43:03 +01:00 committed by Sérgio Ramos
parent 7d61d11e39
commit ef8089ea70
2 changed files with 4 additions and 4 deletions

View File

@ -57,13 +57,13 @@ start:
.PHONY: lint
lint:
$(bindir)/eslint .
$(bindir)/eslint . --cache
# $(bindir)/stylelint './src/**/*.js'
.PHONY: lint-ci
lint-ci:
mkdir -p $(XUNIT_DIR)
-$(bindir)/eslint . --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml
-$(bindir)/eslint . --cache --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml
.PHONY: licence-check
licence-check:

View File

@ -59,13 +59,13 @@ clean:
.PHONY: lint
lint:
$(bindir)/eslint .
$(bindir)/eslint . --cache
# $(bindir)/stylelint './src/**/*.js'
.PHONY: lint-ci
lint-ci:
mkdir -p $(XUNIT_DIR)
-$(bindir)/eslint . --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml
-$(bindir)/eslint . --cache --format tap | $(XUNIT) $(XUNIT_OUTPUT)-lint.xml
.PHONY: publish
publish: