Lines Matching refs:engine_path
171 def checkout_engine(engine_path, repo_root, recipes_cfg_path): argument
179 if not engine_path and url.startswith('file://'):
180 engine_path = urlparse.urlparse(url).path
182 if not engine_path:
187 engine_path = os.path.join(recipes_path, '.recipe_deps', 'recipe_engine')
191 _git_check_call(['init', engine_path], stdout=NUL)
196 cwd=engine_path,
201 cwd=engine_path,
205 _git_check_call(['diff', '--quiet', revision], cwd=engine_path)
207 index_lock = os.path.join(engine_path, '.git', 'index.lock')
214 _git_check_call(['reset', '-q', '--hard', revision], cwd=engine_path)
218 _git_check_call(['clean', '-qxf'], cwd=engine_path)
220 return engine_path
246 engine_path = checkout_engine(engine_override, repo_root, recipes_cfg_path)
250 os.path.join(engine_path, 'recipe_engine', 'main.py')] + args)