[enh] separate calls so that the makefile can error out at first error

This commit is contained in:
Julien Malik 2016-03-04 22:33:11 +01:00
parent 3a343c7471
commit 7dc011d1df

7
debian/rules vendored
View file

@ -22,10 +22,9 @@ override_dh_auto_install:
# Run npm/bower/gulp # Run npm/bower/gulp
# For some unknown reason, the postinstall scripts in package.json cannot be run, and triggers this error : # For some unknown reason, the postinstall scripts in package.json cannot be run, and triggers this error :
# "npm WARN cannot run in wd yunohost-admin@ bower install && gulp build (wd=/build/path)" # "npm WARN cannot run in wd yunohost-admin@ bower install && gulp build (wd=/build/path)"
cd src ; \ cd src ; npm --progress false --loglevel warn --color false install
npm --progress false --loglevel warn --color false install ; \ cd src ; node_modules/bower/bin/bower install --allow-root
node_modules/bower/bin/bower install --allow-root ; \ cd src ; node_modules/gulp/bin/gulp.js build
node_modules/gulp/bin/gulp.js build
override_dh_clean: override_dh_clean:
dh_clean dh_clean