From 0f686afe11e56392e0beb3131a8380922600d408 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Thu, 24 Sep 2020 21:49:01 +0200 Subject: doc/Makefile: remove references to composer update - add make composer_dependencies_dev Makefile target and use this instead - fix composer initial installation procedure - fix php-xdebug install instructions --- doc/md/dev/Unit-tests.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'doc/md') diff --git a/doc/md/dev/Unit-tests.md b/doc/md/dev/Unit-tests.md index 25af82d7..fd286bf0 100644 --- a/doc/md/dev/Unit-tests.md +++ b/doc/md/dev/Unit-tests.md @@ -10,21 +10,16 @@ You can either use: - a local version, downloadable [here](https://getcomposer.org/download/). ```bash -# system-wide version -$ composer install -$ composer update - -# local version -$ php composer.phar self-update -$ php composer.phar install -$ php composer.phar update +# for Debian-based distros +sudo apt install composer ``` + ## Install Shaarli dev dependencies ```bash $ cd /path/to/shaarli -$ composer update +$ make composer_dependencies_dev ``` ## Install and enable Xdebug to generate PHPUnit coverage reports @@ -34,7 +29,7 @@ $ composer update ```bash # for Debian-based distros: -sudo aptitude install php5-xdebug +sudo apt install php-xdebug # for ArchLinux: pacman -S xdebug -- cgit v1.2.3