Details

    • Type: New Feature
    • Status: Closed
    • Priority: High
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: TiAPI
    • Labels:

      Description

      The iPhone building process is getting very heavy if you have multiple git repositories in the project.
      I changed the build compiler.py so its does not link the ".git" folders.
      check out: http://developer.appcelerator.com/question/132241/stop-ios-simulator-startup-git-linking

      compiler.py

      #line 145
      def softlink_resources(source,target,use_ignoreDirs=True):
      	if not os.path.exists(target):
      		os.makedirs(target)
      	for file in os.listdir(source):
      		if (use_ignoreDirs and (file in ignoreDirs)) or (file in ignoreFiles):
      			continue
      		from_ = os.path.join(source, file)
      		to_ = os.path.join(target, file)
      		if os.path.isdir(from_):
      			#NAPP CMS - start custom code
      			if re.match(r"^.*\.git.*$", from_):
      				print "[EXCLUDING] git repository: %s" % (from_)
      				continue
      			else:
      				#NAPP CMS - end custom code
      				print "[DEBUG] creating: %s" % (to_)
      				softlink_resources(from_,to_,False)	
      		else:
      			print "[DEBUG] linking: %s to %s" % (from_,to_)
      			if os.path.exists(to_):
      				if os.path.islink(to_):
      					os.remove(to_)
      					os.symlink(from_, to_)
      			else:
      				os.symlink(from_, to_)
      

      I hope you can use it.

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              viezel Mads Moller
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code