Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
679adcaa
Commit
679adcaa
authored
Mar 16, 2017
by
QA-甘 盛聪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
811bda3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
4_build_by_name.sh
qa_shell_script/4_build_by_name.sh
+7
-7
No files found.
qa_shell_script/4_build_by_name.sh
View file @
679adcaa
...
...
@@ -70,16 +70,16 @@ function buildUiProject()
cp
-r
$config_path
/ui/
$project
.
*
$project_path
/
$project
/
$config_file
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
echo
"npm install gruntjs/grunt-contrib-imagemin"
#
if [ -n "$imagemin_dist" ];then
#
echo "npm install gruntjs/grunt-contrib-imagemin"
#${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
else
echo
"dont install imagemin"
fi
#
else
#
echo "dont install imagemin"
#
fi
# --registry http://192.168.3.7:4873
if
[
"
$node_version
"
=
"node4"
]
;
then
echo
"----node-V4---
${
node4_path
}
/npm install"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment