diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-04-16 11:58:50 +0200 |
---|---|---|
committer | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-04-17 14:40:21 +0200 |
commit | d7e552e223686ee6fabe3a5893af74292f1bf586 (patch) | |
tree | fcd003b973996cffe7a2729bd2937195ae074c94 /Makefile | |
parent | 8ccc4ac00c974ba3659762e6c67f75ed82020e37 (diff) | |
download | wcms-d7e552e223686ee6fabe3a5893af74292f1bf586.tar.gz wcms-d7e552e223686ee6fabe3a5893af74292f1bf586.zip |
tests: add phpcs with minimal PSR12 config
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |