Skip to content

Commit e95584b

Browse files
Add ReCaptcha repo to stock Git.config.php
1 parent 629d825 commit e95584b

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

php-config/Git.config.php

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,29 @@
11
<?php
22

33
Git::$repositories['laddr'] = [
4-
'remote' => 'https://github.com/CfABrigadePhiladelphia/laddr.git'
5-
,'originBranch' => 'releases/v2'
6-
,'workingBranch' => 'releases/v2'
7-
,'localOnly' => true
8-
,'trees' => [
4+
'remote' => 'https://github.com/CfABrigadePhiladelphia/laddr.git',
5+
'originBranch' => 'releases/v2',
6+
'workingBranch' => 'releases/v2',
7+
'localOnly' => true,
8+
'trees' => [
99
'html-templates',
1010
'locales',
11-
'php-classes',
11+
'php-classes' => [
12+
'exclude' => '#^/ReCaptcha/#' // exclude ReCaptcha library pulled from google repo
13+
],
1214
'php-config' => [
1315
'exclude' => '#^/Git\\.config\\.php$#' // don't sync this file
1416
],
1517
'php-migrations',
1618
'site-root'
1719
]
18-
];
20+
];
21+
22+
Git::$repositories['ReCaptcha'] = [
23+
'remote' => 'https://github.com/google/recaptcha.git',
24+
'originBranch' => 'master',
25+
'workingBranch' => 'master',
26+
'trees' => [
27+
'php-classes/ReCaptcha' => 'src/ReCaptcha'
28+
]
29+
];

0 commit comments

Comments
 (0)