Commit 679adcaa authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent 811bda3e
...@@ -70,16 +70,16 @@ function buildUiProject() ...@@ -70,16 +70,16 @@ function buildUiProject()
cp -r $config_path/ui/$project.* $project_path/$project/$config_file cp -r $config_path/ui/$project.* $project_path/$project/$config_file
fi fi
imagemin_dist=`grep -n -A3 "imagemin" *.js|awk '{print $1}'` #imagemin_dist=`grep -n -A3 "imagemin" *.js|awk '{print $1}'`
if [ -n "$imagemin_dist" ];then #if [ -n "$imagemin_dist" ];then
echo "npm install gruntjs/grunt-contrib-imagemin" # echo "npm install gruntjs/grunt-contrib-imagemin"
#${node4_path}/ #${node4_path}/
npm install gruntjs/grunt-contrib-imagemin # npm install gruntjs/grunt-contrib-imagemin
#${node4_path}/npm --registry http://192.168.3.7:4873 install async #${node4_path}/npm --registry http://192.168.3.7:4873 install async
else #else
echo "dont install imagemin" # echo "dont install imagemin"
fi #fi
# --registry http://192.168.3.7:4873 # --registry http://192.168.3.7:4873
if [ "$node_version" = "node4" ] ;then if [ "$node_version" = "node4" ] ;then
echo "----node-V4---${node4_path}/npm install" echo "----node-V4---${node4_path}/npm install"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment