aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md17
2 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5bfd51c..36faed3 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ watch:
# Create a new release and upload it on GitHub.
.PHONY: release
-release: node_modules
+release: check node_modules
release-it
# Inform Sentry of a new release.
diff --git a/README.md b/README.md
index fec1bab..c0da5fa 100644
--- a/README.md
+++ b/README.md
@@ -138,6 +138,23 @@ While developing the JS sources it is useful to run webpack in watch mode so tha
make watch
+Run checks
+---------
+
+Multiple tools are used to perform checks on the source code:
+
+- **phpcs** to lint PHP code
+
+ make lint
+
+- **phpunit** to run unit test on PHP code
+
+ make test
+
+All checks can be run with a single command
+
+ make check [--keep-going]
+
Publish a new release
---------------------