Merge pull request #478 from AndreMiras/feature/top_level_toolchaincl
Takes ToolchainCL definition outside the main
This commit is contained in:
commit
3974a1e701
1 changed files with 283 additions and 283 deletions
|
@ -6,6 +6,7 @@ Tool for compiling iOS toolchain
|
|||
This tool intend to replace all the previous tools/ in shell script.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import sys
|
||||
from sys import stdout
|
||||
from os.path import join, dirname, realpath, exists, isdir, basename, expanduser
|
||||
|
@ -1248,9 +1249,6 @@ def update_pbxproj(filename, pbx_frameworks=None):
|
|||
project.save()
|
||||
|
||||
|
||||
def main():
|
||||
import argparse
|
||||
|
||||
class ToolchainCL(object):
|
||||
def __init__(self):
|
||||
parser = argparse.ArgumentParser(
|
||||
|
@ -1552,6 +1550,8 @@ Xcode:
|
|||
|
||||
command(images_xcassets, args.image)
|
||||
|
||||
|
||||
def main():
|
||||
ToolchainCL()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue