build.rs 354 B

12345678910111213141516
  1. // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
  2. // SPDX-License-Identifier: Apache-2.0
  3. // SPDX-License-Identifier: MIT
  4. use std::process::exit;
  5. fn main() {
  6. if let Err(error) = tauri_build::mobile::PluginBuilder::new()
  7. .android_path("android")
  8. .ios_path("ios")
  9. .run()
  10. {
  11. println!("{error:#}");
  12. exit(1);
  13. }
  14. }