From d7e552e223686ee6fabe3a5893af74292f1bf586 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Thu, 16 Apr 2020 11:58:50 +0200 Subject: tests: add phpcs with minimal PSR12 config --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 53ea1b1..a73b4d5 100644 --- a/Makefile +++ b/Makefile @@ -86,9 +86,10 @@ dist/w_cms_%.zip: all .default.env \ .gitignore \ .release-it.json \ - Makefile \ "composer*" \ + Makefile \ "package*" \ + phpcs.xml \ webpack.config.js # Generate the js bundles (and sourcemaps). @@ -151,6 +152,11 @@ buildclean: rm -rf $(js_srcmaps) rm -rf $(build_dir) +.PHONY: check +check: + @echo Running tests... + phpcs + # Touch files affected by the build environment to force the execution # of the corresponding targets. .PHONY: touch -- cgit v1.2.3