Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lib_base
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sikang
lib_base
Commits
ff31d0aa
Commit
ff31d0aa
authored
Mar 28, 2019
by
sikang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update script
parent
b72ed88a
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
43 additions
and
8 deletions
+43
-8
project_build.gradle
+2
-0
script/garble/create_keystore.py
+0
-0
script/garble/obact.json
+2
-2
script/garble/obact.py
+0
-0
script/garble/obact_lib.json
+4
-4
script/garble/obact_lib.py
+0
-0
script/garble/properties_reader.py
+0
-0
script/garble/rename_project.sh
+0
-0
script/garble/reset_name.sh
+1
-1
script/push_with_tag.sh
+8
-0
script/script_help.sh
+26
-1
No files found.
project_build.gradle
View file @
ff31d0aa
defaultTasks
'clean'
,
'resguardAppProductWebsiteRelease'
buildscript
{
buildscript
{
repositories
{
repositories
{
google
()
google
()
...
...
script/
backup
/create_keystore.py
→
script/
garble
/create_keystore.py
View file @
ff31d0aa
File moved
script/
backup
/obact.json
→
script/
garble
/obact.json
View file @
ff31d0aa
...
@@ -21,6 +21,6 @@
...
@@ -21,6 +21,6 @@
"ProductListFragment"
,
"ProductListFragment"
,
"RepaymentFragment"
"RepaymentFragment"
],
],
"root"
:
"../../app/src/main"
,
"root"
:
"../../
../
app/src/main"
,
"manifest"
:
"../../app/src/main/AndroidManifest.xml"
"manifest"
:
"../../
../
app/src/main/AndroidManifest.xml"
}
}
script/
backup
/obact.py
→
script/
garble
/obact.py
View file @
ff31d0aa
File moved
script/
backup
/obact_lib.json
→
script/
garble
/obact_lib.json
View file @
ff31d0aa
...
@@ -79,8 +79,8 @@
...
@@ -79,8 +79,8 @@
"YWUser"
,
"YWUser"
,
"TDChannel"
"TDChannel"
],
],
"root"
:
"../../lib_base/src/main"
,
"root"
:
"../../
../
lib_base/src/main"
,
"manifest"
:
"../../lib_base/src/main/AndroidManifest.xml"
,
"manifest"
:
"../../
../
lib_base/src/main/AndroidManifest.xml"
,
"approot"
:
"../../app/src/main"
,
"approot"
:
"../../
../
app/src/main"
,
"appmanifest"
:
"../../app/src/main/AndroidManifest.xml"
"appmanifest"
:
"../../
../
app/src/main/AndroidManifest.xml"
}
}
script/
backup
/obact_lib.py
→
script/
garble
/obact_lib.py
View file @
ff31d0aa
File moved
script/
backup
/properties_reader.py
→
script/
garble
/properties_reader.py
View file @
ff31d0aa
File moved
script/
backup
/rename_project.sh
→
script/
garble
/rename_project.sh
View file @
ff31d0aa
File moved
script/
backup
/reset_name.sh
→
script/
garble
/reset_name.sh
View file @
ff31d0aa
cd
..
cd
..
/../
git checkout
.
&&
git clean
-df
git checkout
.
&&
git clean
-df
git reset
--hard
origin/master
git reset
--hard
origin/master
cd
..
cd
..
...
...
script/push_with_tag.sh
0 → 100755
View file @
ff31d0aa
cd
../../
source
./gradle.properties
git add
.
git commit
-m
"
${
app_id
}
${
version_name
}
"
tagName
=
t
${
corp_id
}
-
${
app_id
}
git tag
-a
${
tagName
}
-m
${
tagName
}
git push origin
${
tagName
}
\ No newline at end of file
script/script_help.sh
View file @
ff31d0aa
...
@@ -7,28 +7,35 @@ echo "4、commit 和 push UI代码 (需手动修改分支)"
...
@@ -7,28 +7,35 @@ echo "4、commit 和 push UI代码 (需手动修改分支)"
echo
"5、pull Base代码 "
echo
"5、pull Base代码 "
echo
"6、pull UI代码 "
echo
"6、pull UI代码 "
echo
"7、为 resGuardApks 目录下的 *_release.apk 打渠道包"
echo
"7、为 resGuardApks 目录下的 *_release.apk 打渠道包"
echo
"8、提交一个渠道包Tag"
echo
"a、开始四大组件混淆"
echo
"b、还原四大组件混淆"
echo
-n
"请输入指令编号:"
echo
-n
"请输入指令编号:"
read
commod
read
commod
if
((
$commod
==
'0'
))
if
((
$commod
==
'0'
))
then
then
chmod a+x pkgname_generator.py
./pkgname_generator.py
./pkgname_generator.py
elif
((
$commod
==
'1'
))
elif
((
$commod
==
'1'
))
then
then
chmod a+x release_builder.sh
./release_builder.sh
./release_builder.sh
elif
((
$commod
==
'2'
))
elif
((
$commod
==
'2'
))
then
then
# ./create_keystore.py
chmod a+x creat_keystore.sh
./creat_keystore.sh
./creat_keystore.sh
elif
((
$commod
==
'3'
))
elif
((
$commod
==
'3'
))
then
then
chmod a+x base_push.sh
./base_push.sh
./base_push.sh
elif
((
$commod
==
'4'
))
elif
((
$commod
==
'4'
))
then
then
chmod a+x module_push.sh
./module_push.sh
./module_push.sh
elif
((
$commod
==
'5'
))
elif
((
$commod
==
'5'
))
...
@@ -43,8 +50,26 @@ then
...
@@ -43,8 +50,26 @@ then
elif
((
$commod
==
'7'
))
elif
((
$commod
==
'7'
))
then
then
chmod a+x make_channel.sh
./make_channel.sh
./make_channel.sh
elif
((
$commod
==
'8'
))
then
chmod a+x push_with_tag.sh
./push_with_tag.sh
elif
((
$commod
==
'a'
))
then
cd
grable
chmod a+x rename_peoject.sh
./rename_peoject.sh
elif
((
$commod
==
'b'
))
then
cd
grable
chmod a+x reset_name.sh
./reset_name.sh
else
else
echo
"找不到编号"
echo
"找不到编号"
fi
fi
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