mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +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");
|
$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');
|
$fl->removeDir(e_BASE.'e107_tests');
|
||||||
|
unlink(e_BASE."composer.json");
|
||||||
|
unlink(e_BASE."composer.lock");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@@ -1692,6 +1692,8 @@ class e_file
|
|||||||
'e107-master/CONTRIBUTING.md', # moved to ./.github/CONTRIBUTING.md
|
'e107-master/CONTRIBUTING.md', # moved to ./.github/CONTRIBUTING.md
|
||||||
'e107-master/LICENSE',
|
'e107-master/LICENSE',
|
||||||
'e107-master/README.md',
|
'e107-master/README.md',
|
||||||
|
'e107-master/composer.json',
|
||||||
|
'e107-master/composer.lock',
|
||||||
'e107-master/install.php',
|
'e107-master/install.php',
|
||||||
'e107-master/favicon.ico',
|
'e107-master/favicon.ico',
|
||||||
);
|
);
|
||||||
|
@@ -305,6 +305,8 @@ class e_fileTest extends \Codeception\Test\Unit
|
|||||||
'/CONTRIBUTING.md',
|
'/CONTRIBUTING.md',
|
||||||
'/LICENSE',
|
'/LICENSE',
|
||||||
'/README.md',
|
'/README.md',
|
||||||
|
'/composer.json',
|
||||||
|
'/composer.lock',
|
||||||
'/install.php',
|
'/install.php',
|
||||||
'/favicon.ico',
|
'/favicon.ico',
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user