File tree 3 files changed +5
-11
lines changed 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ functions:
4
4
- command : git.get_project
5
5
params :
6
6
directory : " src"
7
- - command : shell.exec
8
- params :
9
- working_dir : " src"
10
- script : |
11
- git submodule update --init
12
7
# Make an evergreen exapanstion file with dynamic values
13
8
- command : shell.exec
14
9
params :
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ $ composer update
13
13
14
14
In addition to installing project dependencies, Composer will check that the
15
15
required extension version is installed. Directions for installing the extension
16
- may be found [ here] ( https://php.net/manual/en/mongodb.installation.php ) .
16
+ may be found [ here] ( https://php.net/manual/en/mongodb.installation.php ) . Composer will also install the submodule required for
17
+ running spec tests.
17
18
18
19
Installation directions for Composer may be found in its
19
20
[ Getting Started] ( https://getcomposer.org/doc/00-intro.md ) guide.
@@ -22,11 +23,7 @@ Installation directions for Composer may be found in its
22
23
23
24
The library's test suite uses [ PHPUnit] ( https://phpunit.de/ ) , which is installed
24
25
through the [ PHPUnit Bridge] ( https://symfony.com/phpunit-bridge ) dependency by
25
- Composer. To run the spec tests, initialize the corresponding Git submodule:
26
-
27
- ```
28
- $ git submodule update --init
29
- ```
26
+ Composer.
30
27
31
28
The test suite may be executed with:
32
29
Original file line number Diff line number Diff line change 39
39
}
40
40
},
41
41
"scripts" : {
42
+ "pre-install-cmd" : " git submodule update --init" ,
43
+ "pre-update-cmd" : " git submodule update --init" ,
42
44
"bench" : " cd benchmark && composer update && vendor/bin/phpbench run --report=aggregate" ,
43
45
"checks" : [
44
46
" @check:cs" ,
You can’t perform that action at this time.
0 commit comments