Начал реализацию вызовов методов после сборки билда. Это например позволит публиковать сборки в тестфлайт.

This commit is contained in:
Rustam Zaitov 2013-09-29 23:07:18 +04:00
parent 8648e8e8f7
commit dcf99979b3
3 changed files with 13 additions and 0 deletions

8
scripts/post_build.py Normal file
View File

@ -0,0 +1,8 @@
import testflight
def PublishToTestFlight(config):
cmd_text_pattern = "curl http://testflightapp.com/api/builds.json -F file=@'{0}' -F api_token='{1}' -F team_token='{2}' -F notes='This build was uploaded via the upload API'"
cmd_text = cmd_text_pattern.format(config[''])
def PrintToConsole(config):
print 'Sample post build action!'

View File

@ -17,6 +17,10 @@ ios_development_root = {
'files_for_backup': ['BuildSample.sln', 'BuildSample/CoolApp.csproj', 'BuildSample/Info.plist'],
'projects_to_exclude': ['NotCompileApp'],
'info_plist_rel_path': 'BuildSample/Info.plist',
'post_build_file': 'post_build.py',
'post_build_actions' : ['PublishToTestFlight', 'PrintToConsole'],
'patch': patch.PathcIos,
'parent': ios_root
}

1
scripts/testflight.py Normal file
View File

@ -0,0 +1 @@