From d3590b466ad770ab5c8470bc3b8a65111ced1ab7 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 11 May 2020 03:27:44 +0200 Subject: [PATCH] Idk somehow we do this during builds because the npm install is done using a weird hack etc... c.f. vinaigrette --- debian/rules | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 3cd60cb6..3c1d0c18 100755 --- a/debian/rules +++ b/debian/rules @@ -16,12 +16,14 @@ TMPDIR = $$(pwd)/debian/yunohost-admin override_dh_auto_build: # Run npm/bower/gulp - cd src ; npm --progress false --loglevel warn --color false install + #cd src ; npm --progress false --loglevel warn --color false install cd src ; node_modules/gulp/bin/gulp.js build + rm -rf src/node_modules + rm -rf src/bower_components override_dh_clean: dh_clean - rm -rf src/node_modules - rm -rf src/bower_components + #rm -rf src/node_modules + #rm -rf src/bower_components rm -rf src/dist