From 8069ccb75039697a0f8e47298991c9e410384f47 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 30 May 2020 03:29:14 +0100 Subject: [PATCH] Add Makefile Add a Makefile with commands for 'phpunit' and 'test'. This can be expanded later for PHPCS etc. --- .gitignore | 1 + Makefile | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index ac540af..f024f1f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ !/.github/** !/.gitignore !/composer.json +!/Makefile !/src/** !/tests/** diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a4e4065 --- /dev/null +++ b/Makefile @@ -0,0 +1,7 @@ +.PHONY: * + +phpunit: + php vendor/bin/phpunit -v --color=always --testdox tests + +test: phpunit +