Начал реализацию вызовов методов после сборки билда. Это например позволит публиковать сборки в тестфлайт.
This commit is contained in:
parent
8648e8e8f7
commit
dcf99979b3
|
|
@ -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!'
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
||||
Loading…
Reference in New Issue