This is my own custom script to help my daily development life.
Right now just support Dcard Project
git add
-a
: add all dcard files-s
: add dcard screen files-r
: add dcard resrouces files-m
: add dcard module files
git checkout staged files
-s
: checkout dcard screen files-r
: checkout dcard resource files-m
: checkout dcard module files-i
: checkout.idea/codeStyles/Project.xml
&.idea/modules.xml
git commit
args
: your commit message
more the drawable files from
designer source folder
toproject folder
source
: designer source folder which contain all the drawable-xxx foldertarget
: project folder which contain thesrc
folder in project. NOT project root folder.
get connected device ip (only work when there is one device connected)
setup wifi port connected to adb (only work when there is one device connected)
upload apk to slack channel