Exemplo n.º 1
0
	def __init__(self, target_os, packaging_server=False):
		self.version = __init__.get_titanium_version()
		self.excludes = ['.pdb', '.exp', '.ilk', '.lib', '.svn',
			'.git', '.gitignore', '.cvsignore']

		self.target_os = target_os

		script_dir = p.abspath(p.dirname(sys._getframe(0).f_code.co_filename))
		if packaging_server:
			self.init_packaging_server_dirs(script_dir)
		else:
			self.init_normal_dirs(script_dir)
Exemplo n.º 2
0
    def __init__(self, target_os, packaging_server=False):
        self.components_dir = None
        self.version = __init__.get_titanium_version()
        self.excludes = [
            '.pdb', '.exp', '.ilk', '.lib', '.svn', '.git', '.gitignore',
            '.cvsignore'
        ]

        self.target_os = target_os

        script_dir = p.abspath(p.dirname(sys._getframe(0).f_code.co_filename))
        if packaging_server:
            self.init_packaging_server_dirs(script_dir)
        else:
            self.init_normal_dirs(script_dir)
Exemplo n.º 3
0
	def __init__(self, target_os, packaging_server=False, appstore=False):
		self.components_dir = None
		self.version = __init__.get_titanium_version()
		self.excludes = ['.pdb', '.exp', '.ilk', '.lib', '.svn',
			'.git', '.gitignore', '.cvsignore']

		# Do not include WebKit for app store builds.
		if appstore:
			self.excludes.extend([
				'WebKit.framework',
				'WebCore.framework',
				'JavaScriptCore.framework'])

		self.target_os = target_os

		script_dir = p.abspath(p.dirname(sys._getframe(0).f_code.co_filename))
		if packaging_server:
			self.init_packaging_server_dirs(script_dir)
		else:
			self.init_normal_dirs(script_dir)
Exemplo n.º 4
0
    def __init__(self, target_os, packaging_server=False, appstore=False):
        self.components_dir = None
        self.version = __init__.get_titanium_version()
        self.excludes = [
            '.pdb', '.exp', '.ilk', '.lib', '.svn', '.git', '.gitignore',
            '.cvsignore'
        ]

        # Do not include WebKit for app store builds.
        if appstore:
            self.excludes.extend([
                'WebKit.framework', 'WebCore.framework',
                'JavaScriptCore.framework'
            ])

        self.target_os = target_os

        script_dir = p.abspath(p.dirname(sys._getframe(0).f_code.co_filename))
        if packaging_server:
            self.init_packaging_server_dirs(script_dir)
        else:
            self.init_normal_dirs(script_dir)