aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/md
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-09-30 11:12:17 +0200
committerGitHub <noreply@github.com>2020-09-30 11:12:17 +0200
commit769a28833b68f4c629c5578348b31d51016fbf6f (patch)
tree59ef68d5d21dc03439d98a6aa574437e2664b9b4 /doc/md
parent6cdca9562c7685e9a0eb77b51584d0cc458c44e0 (diff)
parent0f686afe11e56392e0beb3131a8380922600d408 (diff)
downloadShaarli-769a28833b68f4c629c5578348b31d51016fbf6f.tar.gz
Shaarli-769a28833b68f4c629c5578348b31d51016fbf6f.tar.zst
Shaarli-769a28833b68f4c629c5578348b31d51016fbf6f.zip
Merge pull request #1566 from nodiscc/makefile-composer-install
doc/Makefile: remove references to composer update
Diffstat (limited to 'doc/md')
-rw-r--r--doc/md/dev/Unit-tests.md15
1 files changed, 5 insertions, 10 deletions
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:
10- a local version, downloadable [here](https://getcomposer.org/download/). 10- a local version, downloadable [here](https://getcomposer.org/download/).
11 11
12```bash 12```bash
13# system-wide version 13# for Debian-based distros
14$ composer install 14sudo apt install composer
15$ composer update
16
17# local version
18$ php composer.phar self-update
19$ php composer.phar install
20$ php composer.phar update
21``` 15```
22 16
17
23## Install Shaarli dev dependencies 18## Install Shaarli dev dependencies
24 19
25```bash 20```bash
26$ cd /path/to/shaarli 21$ cd /path/to/shaarli
27$ composer update 22$ make composer_dependencies_dev
28``` 23```
29 24
30## Install and enable Xdebug to generate PHPUnit coverage reports 25## Install and enable Xdebug to generate PHPUnit coverage reports
@@ -34,7 +29,7 @@ $ composer update
34 29
35```bash 30```bash
36# for Debian-based distros: 31# for Debian-based distros:
37sudo aptitude install php5-xdebug 32sudo apt install php-xdebug
38 33
39# for ArchLinux: 34# for ArchLinux:
40pacman -S xdebug 35pacman -S xdebug