FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
AndroidDynamicLoader/tools/update.sh at master · withyou/AndroidDynamicLoader · GitHub
withyou
/
AndroidDynamicLoader
Public
forked from
mmin18/AndroidDynamicLoader
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
AndroidDynamicLoader
/
tools
/
update.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
20 lines (15 loc) · 496 Bytes
Breadcrumbs
AndroidDynamicLoader
/
tools
/
update.sh
Copy path
File metadata and controls
executable file
·
20 lines (15 loc) · 496 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!
/bin/bash
#
check the environment
which adb
&
>
/dev/null
[
$?
-eq
0 ]
||
{
echo
"
adb command not found.
"
;
exit
1
;
}
which android
&
>
/dev/null
[
$?
-eq
0 ]
||
{
echo
"
android command not found.
"
;
exit
1
;
}
which ant
&
>
/dev/null
[
$?
-eq
0 ]
||
{
echo
"
ant command not found.
"
;
exit
1
;
}
if
[
$#
-eq
1 ]
;
then
BASEDIR=
$(
dirname
$0
)
java -cp
${BASEDIR}
/lib/anttasks.jar com.dianping.ant.UpdateProject
${BASEDIR}
$*
else
echo
"
update.sh useage:
"
echo
"
update.sh <workspace or project>
"
fi
Back
|
FazBrowse Home
|
New Git URL