From fc83b71a3094137ebb416ffe276d040cb074a2cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20H=C3=A4rdeman?= Date: Mon, 23 Aug 2021 00:42:21 +0200 Subject: [PATCH] [snappymail] Some build fixes Not an expert on the snappy build system, but rollup doesn't seem to be used anywhere, so no need to check for its presence. Also, I had to replace "node-fs" with "fs" to build a .tar.gz. --- release.php | 2 ++ tasks/common.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/release.php b/release.php index 58bedbf0b..2c6f8856e 100755 --- a/release.php +++ b/release.php @@ -85,10 +85,12 @@ 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/ diff --git a/tasks/common.js b/tasks/common.js index e0a403a7c..2ddb6ca0d 100644 --- a/tasks/common.js +++ b/tasks/common.js @@ -1,7 +1,7 @@ /* RainLoop Webmail (c) RainLoop Team | Licensed under AGPL 3 */ const gulp = require('gulp'); const del = require('del'); -const fs = require('node-fs'); +const fs = require('fs'); const { config } = require('./config');