From 56c626938252d600f56e64131714120216cdaef9 Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Fri, 5 May 2017 18:49:08 +0200 Subject: [PATCH] Split style target for CircleCi --- circle.yml | 4 +++- posix.mak | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/circle.yml b/circle.yml index ce9e67f9d..72801310c 100644 --- a/circle.yml +++ b/circle.yml @@ -7,7 +7,9 @@ dependencies: test: override: - ./circleci.sh setup-repos - - ./circleci.sh style + - ./circleci.sh style_lint + - ./circleci.sh has_public_example + - ./circleci.sh publictests - ./circleci.sh coverage: parallel: true timeout: 1200 diff --git a/posix.mak b/posix.mak index 33eae9094..766c270e3 100644 --- a/posix.mak +++ b/posix.mak @@ -499,7 +499,9 @@ $(TOOLS_DIR)/checkwhitespace.d: mv dscanner_makefile_tmp ../dscanner/makefile make -C ../dscanner githash debug -style: ../dscanner/dsc $(LIB) has_public_example publictests +style: has_public_example publictests style_lint + +style_lint: ../dscanner/dsc $(LIB) @echo "Check for trailing whitespace" grep -nr '[[:blank:]]$$' etc std ; test $$? -eq 1