mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 12:39:20 +03:00
This version uses Rollup instead of WebPack.
Due to that the code is smaller and has changes to prevent Circular Dependencies
This commit is contained in:
parent
5e63ade9dd
commit
ad8fd8879b
49 changed files with 595 additions and 577 deletions
10
release.php
10
release.php
|
|
@ -7,6 +7,11 @@ if (!$gulp) {
|
|||
exit('gulp not installed, run as root: npm install --global gulp-cli');
|
||||
}
|
||||
|
||||
$rollup = trim(`which rollup`);
|
||||
if (!$rollup) {
|
||||
exit('rollup not installed, run as root: npm install --global rollup');
|
||||
}
|
||||
|
||||
$options = getopt('', ['docker']);
|
||||
$options['docker'] = isset($options['docker']);
|
||||
|
||||
|
|
@ -25,6 +30,11 @@ if ($return_var) {
|
|||
exit("gulp failed with error code {$return_var}\n");
|
||||
}
|
||||
|
||||
passthru("{$rollup} -c", $return_var);
|
||||
if ($return_var) {
|
||||
exit("rollup failed with error code {$return_var}\n");
|
||||
}
|
||||
|
||||
$cmddir = escapeshellcmd(__DIR__) . '/snappymail/v/0.0.0/static';
|
||||
|
||||
if ($gzip = trim(`which gzip`)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue