Small tweaks in deb build rules

This commit is contained in:
Alexandre Aubin 2020-06-04 21:59:00 +02:00
parent d3590b466a
commit ab60726787

6
debian/rules vendored
View file

@ -15,15 +15,13 @@ TMPDIR = $$(pwd)/debian/yunohost-admin
dh $@ dh $@
override_dh_auto_build: override_dh_auto_build:
# Run npm/bower/gulp # Run npm/gulp
#cd src ; npm --progress false --loglevel warn --color false install #cd src ; npm ci --progress false --loglevel warn --color false
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/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/dist rm -rf src/dist