summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-04-16 12:00:20 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-04-16 12:00:20 +0200
commit01944ece67dc4f7b691a0414e10f42e97e1dba1b (patch)
tree08e771bfb755971e4278b9a7378503ea553c35b7
parenta851dd35b8ead5e4688062ff0c6e94d83133b006 (diff)
downloadgigologadmin-01944ece67dc4f7b691a0414e10f42e97e1dba1b.tar.gz
gigologadmin-01944ece67dc4f7b691a0414e10f42e97e1dba1b.tar.bz2
gigologadmin-01944ece67dc4f7b691a0414e10f42e97e1dba1b.zip
Add test script to composer.json
This makes it easier to run the test script directly from the editor it your editor supports composer. Otherwise run it from the command line: composer run test Or like before: ./run-tests
-rw-r--r--composer.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index 3b74061..fb612a3 100644
--- a/composer.json
+++ b/composer.json
@@ -15,5 +15,8 @@
],
"require-dev": {
"wp-phpunit/wp-phpunit": "^5.7"
+ },
+ "scripts": {
+ "test": "./run-tests"
}
}