mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Made eslint using 'browser' environment and added globals, because RainLoop is used in browsers.
This also allowed to remove all webpack 'externals' overhead.
This commit is contained in:
parent
c3a213802d
commit
e7180a86ce
81 changed files with 1857 additions and 1259 deletions
|
|
@ -20,6 +20,11 @@ if ($return_var) {
|
|||
exit("gulp failed with error code {$return_var}\n");
|
||||
}
|
||||
|
||||
if ($gzip = trim(`which gzip`)) {
|
||||
// passthru("{$gzip} -k --best -r ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/js/*'), $return_var);
|
||||
// passthru("{$gzip} -k --best -r ".escapeshellarg(__DIR__ . '/rainloop/v/0.0.0/static/css/*'), $return_var);
|
||||
}
|
||||
|
||||
// Temporary rename folder to speed up PharData
|
||||
if (!rename('rainloop/v/0.0.0', "rainloop/v/{$package->version}")){
|
||||
exit('Failed to temporary rename rainloop/v/0.0.0');
|
||||
|
|
@ -67,6 +72,9 @@ $index = str_replace('source', 'community', $index);
|
|||
$zip->addFromString('index.php', $index);
|
||||
$tar->addFromString('index.php', $index);
|
||||
|
||||
$zip->addFile('README.md');
|
||||
$tar->addFile('README.md');
|
||||
|
||||
$zip->close();
|
||||
|
||||
$tar->compress(Phar::GZ);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue