Mobile development Some packaged scripts

Source: Internet
Author: User

Ideployusageprebuild toolsidepoly.py

Replace some files and fields before build

Application Scenarios
    • Multi-Channel Build
    • Different packages show different icon or splash
Configuration file Ci.yml
replace_from_pics:需要替换的文件路径集合  replace_to_pics:需要被替换的文件路径集合template_source_files:需要替换的文本文件路径集合,需要被替换的内容使用 {{replace_content}}表示,例如 {{id}}template_target_files:需要被替换的文本文件路径集合 定义一个replace_content,例如 replace_content: Hello Yaml
Run
python idepoly.py (默认加载ci.yml)python idepoly.py xx.yml (自定义的yml,格式参考ci.yml)
Afterbuild toolsfirupload.py

Used to upload to fir after packaging

Application Scenarios
打包好的x.ipa 或者 xx.apk 需要给QA进行测试,可以通过fir进行分发
Install
 sudo easy_install clint sudo easy_install requests sudo easy_install requests_toolbelt
Config.yml
appid: 应用id (android: applicationId, ios:bundleId)token: fir 提供的 tokenfilepath: xx.ipa/xx.apk 的路径type: ios/android
Run
python firupload.py

Blog:beiliubei

Githup:https://github.com/beiliubei/ideploy

Mobile development Some packaged scripts

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.