Improvements for #119

This commit is contained in:
djmaze 2021-08-23 12:08:04 +02:00
parent d8df978732
commit c8a28a7f95
3 changed files with 7 additions and 21 deletions

View file

@ -59,11 +59,11 @@
"gulp-size": "3.0.0",
"gulp-stripbom": "1.0.5",
"gulp-terser": "^1.4.0",
"gulp-util": "3.0.8",
"node-fs": "0.1.7"
"gulp-util": "3.0.8"
},
"dependencies": {
"del": "^6.0.0",
"fs": "^0.0.1-security",
"gulp-concat": "^2.6.1",
"gulp-group-css-media-queries": "^1.2.2",
"gulp-rollup-2": "^1.2.1",

View file

@ -85,13 +85,6 @@ 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');
}
*/
// Arch User Repository
// https://aur.archlinux.org/packages/snappymail/
$options['aur'] = isset($options['aur']);
@ -125,13 +118,6 @@ 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`)) {

View file

@ -1527,6 +1527,11 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
fs@^0.0.1-security:
version "0.0.1-security"
resolved "https://registry.yarnpkg.com/fs/-/fs-0.0.1-security.tgz#8a7bd37186b6dddf3813f23858b57ecaaf5e41d4"
integrity sha1-invTcYa23d84E/I4WLV+yq9eQdQ=
fsevents@^1.2.7:
version "1.2.13"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.13.tgz#f325cb0455592428bcf11b383370ef70e3bfcc38"
@ -2904,11 +2909,6 @@ no-case@^2.2.0:
dependencies:
lower-case "^1.1.1"
node-fs@0.1.7:
version "0.1.7"
resolved "https://registry.yarnpkg.com/node-fs/-/node-fs-0.1.7.tgz#32323cccb46c9fbf0fc11812d45021cc31d325bb"
integrity sha1-MjI8zLRsn78PwRgS1FAhzDHTJbs=
normalize-package-data@^2.3.2:
version "2.5.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"