Idk somehow we do this during builds because the npm install is done using a weird hack etc... c.f. vinaigrette

This commit is contained in:
Alexandre Aubin 2020-05-11 03:27:44 +02:00
parent b8545d1643
commit d3590b466a

8
debian/rules vendored
View file

@ -16,12 +16,14 @@ TMPDIR = $$(pwd)/debian/yunohost-admin
override_dh_auto_build: override_dh_auto_build:
# Run npm/bower/gulp # 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 cd src ; node_modules/gulp/bin/gulp.js build
rm -rf src/node_modules
rm -rf src/bower_components
override_dh_clean: override_dh_clean:
dh_clean dh_clean
rm -rf src/node_modules #rm -rf src/node_modules
rm -rf src/bower_components #rm -rf src/bower_components
rm -rf src/dist rm -rf src/dist