コード例 #1
0
ファイル: resources_task.py プロジェクト: TansyArron/pants
 def compute_target_dir(self, target):
   # Sources are all relative to their roots: relativize directories as well to avoid
   # breaking filesystem path length limits.
   return relativize_path(os.path.join(self.workdir, target.id), get_buildroot())
コード例 #2
0
 def compute_target_dir(self, target):
     # Sources are all relative to their roots: relativize directories as well to avoid
     # breaking filesystem path length limits.
     return relativize_path(os.path.join(self.workdir, target.id),
                            get_buildroot())
コード例 #3
0
 def compute_target_dir(tgt):
     # Sources are all relative to their roots: relativize directories as well to
     # breaking filesystem limits.
     return relativize_path(os.path.join(self.workdir, tgt.id),
                            self._buildroot)
コード例 #4
0
 def compute_target_dir(tgt):
   # Sources are all relative to their roots: relativize directories as well to
   # breaking filesystem limits.
   return relativize_path(os.path.join(self.workdir, tgt.id), self._buildroot)