mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Exclude Composer files in GitHub sync for e107 v2
This commit is contained in:
@@ -55,9 +55,11 @@ class _system_cron
|
||||
$mes->addDebug("Removed install.php");
|
||||
}
|
||||
|
||||
if(!deftrue('e_DEVELOPER')) // leave tests folder intact if developer mode is active.
|
||||
if(!deftrue('e_DEVELOPER')) // Leave development files intact if developer mode is active.
|
||||
{
|
||||
$fl->removeDir(e_BASE.'e107_tests');
|
||||
unlink(e_BASE."composer.json");
|
||||
unlink(e_BASE."composer.lock");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@@ -1692,6 +1692,8 @@ class e_file
|
||||
'e107-master/CONTRIBUTING.md', # moved to ./.github/CONTRIBUTING.md
|
||||
'e107-master/LICENSE',
|
||||
'e107-master/README.md',
|
||||
'e107-master/composer.json',
|
||||
'e107-master/composer.lock',
|
||||
'e107-master/install.php',
|
||||
'e107-master/favicon.ico',
|
||||
);
|
||||
|
@@ -305,6 +305,8 @@ class e_fileTest extends \Codeception\Test\Unit
|
||||
'/CONTRIBUTING.md',
|
||||
'/LICENSE',
|
||||
'/README.md',
|
||||
'/composer.json',
|
||||
'/composer.lock',
|
||||
'/install.php',
|
||||
'/favicon.ico',
|
||||
]
|
||||
|
Reference in New Issue
Block a user