1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-10 21:30: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 .PHONY: lint
lint: lint:
$(bindir)/eslint . $(bindir)/eslint . --cache
# $(bindir)/stylelint './src/**/*.js' # $(bindir)/stylelint './src/**/*.js'
.PHONY: lint-ci .PHONY: lint-ci
lint-ci: lint-ci:
mkdir -p $(XUNIT_DIR) 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 .PHONY: licence-check
licence-check: licence-check:

View File

@ -59,13 +59,13 @@ clean:
.PHONY: lint .PHONY: lint
lint: lint:
$(bindir)/eslint . $(bindir)/eslint . --cache
# $(bindir)/stylelint './src/**/*.js' # $(bindir)/stylelint './src/**/*.js'
.PHONY: lint-ci .PHONY: lint-ci
lint-ci: lint-ci:
mkdir -p $(XUNIT_DIR) 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 .PHONY: publish
publish: publish: