diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-04-16 18:46:32 +0200 |
---|---|---|
committer | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-04-17 19:03:34 +0200 |
commit | 477f4bb4d104905e6c846c3cec2ec57edd4de677 (patch) | |
tree | 0a08404eee86edf9ee73573d96aaa2c1932ae8a7 /Makefile | |
parent | 802f5135b0979bab3bf30ae1733f9867e2caed7a (diff) | |
download | wcms-477f4bb4d104905e6c846c3cec2ec57edd4de677.tar.gz wcms-477f4bb4d104905e6c846c3cec2ec57edd4de677.zip |
tests: add phpunit w/coverage + 1 test SummaryTest
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -90,6 +90,7 @@ dist/w_cms_%.zip: all Makefile \ "package*" \ phpcs.xml \ + phpunit.xml \ webpack.config.js # Generate the js bundles (and sourcemaps). @@ -152,10 +153,12 @@ buildclean: rm -rf $(js_srcmaps) rm -rf $(build_dir) +# Run all checks. .PHONY: check -check: - @echo Running tests... +check: $(PREV_ENV_FILE) vendor + @echo Running checks... phpcs + phpunit # Touch files affected by the build environment to force the execution # of the corresponding targets. |