File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# service files
4
- update_services=` git diff --name-status origin/master| awk ' {print $2}' | grep " ^tencentcloud/" | xargs egrep " type .+Service struct" | awk -F " : " ' {print $2} ' | awk ' {print $2}' `
4
+ update_services=` git diff --name-status origin/master| awk ' {print $2}' | grep " ^tencentcloud/" | xargs egrep " type .+Service struct" | awk ' {print $2}' `
5
5
need_test_files=" "
6
6
for update_service in $update_services ; do
7
7
tmp_files=` grep -r --with-filename $update_service ./tencentcloud | awk -F " :" ' {print $1}' | grep -v " service_tencent*" | awk -F " /" ' {print $3}' | sort | uniq | egrep " ^resource_tc_|^data_source_tc" | awk -F " ." ' {print $1}' | awk ' /_test$/{print "tencentcloud/"$0".go"} !/_test$/{print "tencentcloud/"$0"_test.go"}' `
You can’t perform that action at this time.
0 commit comments