Use the locally installed gulp to avoid global dependency

This commit is contained in:
Johannes Zellner
2017-06-27 12:19:44 +02:00
parent 3307b581af
commit 82b5c11374

View File

@@ -58,7 +58,7 @@ else
fi
echo "Building webadmin assets"
(cd "${bundle_dir}" && gulp)
(cd "${bundle_dir}" && ./node_modules/.bin/gulp)
echo "Remove intermediate files required at build-time only"
rm -rf "${bundle_dir}/node_modules/"
@@ -84,4 +84,3 @@ echo "Cleaning up ${bundle_dir}"
rm -rf "${bundle_dir}"
echo "Tarball saved at ${bundle_file}"