aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-04-16 11:58:50 +0200
committerVincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com>2020-04-17 14:40:21 +0200
commitd7e552e223686ee6fabe3a5893af74292f1bf586 (patch)
treefcd003b973996cffe7a2729bd2937195ae074c94 /Makefile
parent8ccc4ac00c974ba3659762e6c67f75ed82020e37 (diff)
downloadwcms-d7e552e223686ee6fabe3a5893af74292f1bf586.tar.gz
wcms-d7e552e223686ee6fabe3a5893af74292f1bf586.zip
tests: add phpcs with minimal PSR12 config
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
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