• Home
  • Raw
  • Download

Lines Matching refs:monorepo_path

83 fn cleanup_and_sync_monorepo(monorepo_path: &Path) -> Result<()> {  in cleanup_and_sync_monorepo()
86 .current_dir(monorepo_path) in cleanup_and_sync_monorepo()
90 .current_dir(monorepo_path) in cleanup_and_sync_monorepo()
95 .current_dir(monorepo_path) in cleanup_and_sync_monorepo()
100 .current_dir(monorepo_path) in cleanup_and_sync_monorepo()
105 .current_dir(monorepo_path) in cleanup_and_sync_monorepo()
109 bail!("Monorepo {} has uncommitted changes", monorepo_path.display()); in cleanup_and_sync_monorepo()
112 Command::new("repo").args(["sync", "."]).current_dir(monorepo_path).run_and_stream_output()?; in cleanup_and_sync_monorepo()
128 fn sync_to_green(monorepo_path: &Path) -> Result<()> { in sync_to_green()
147 .current_dir(monorepo_path) in sync_to_green()
153 Command::new("repo").args(["sync", "."]).current_dir(monorepo_path).run_and_stream_output()?; in sync_to_green()
158 fn get_suggestions(monorepo_path: &Path) -> Result<Vec<UpdateSuggestion>> { in get_suggestions()
162 let output = Command::new(monorepo_path.join("crate_tool")) in get_suggestions()
170 .current_dir(monorepo_path) in get_suggestions()
188 monorepo_path: &Path, in try_update()
194 Command::new(monorepo_path.join("crate_tool")) in try_update()
196 .current_dir(monorepo_path) in try_update()
201 .current_dir(monorepo_path) in try_update()
218 .current_dir(monorepo_path) in try_update()
235 .current_dir(monorepo_path) in try_update()
237 Command::new("git").args(["add", "."]).current_dir(monorepo_path).run_and_stream_output()?; in try_update()
244 .current_dir(monorepo_path) in try_update()
263 .current_dir(monorepo_path) in try_update()
277 let monorepo_path = args.android_root.join("external/rust/android-crates-io"); in main() localVariable
279 cleanup_and_sync_monorepo(&monorepo_path)?; in main()
281 sync_to_green(&monorepo_path)?; in main()
293 for suggestion in get_suggestions(&monorepo_path)? { in main()
300 cleanup_and_sync_monorepo(&monorepo_path)?; in main()
301 let res = try_update(&args.android_root, &monorepo_path, crate_name, version) in main()
305 cleanup_and_sync_monorepo(&monorepo_path)?; in main()