Skip to content

Commit 397b364

Browse files
committed
chore: fix build.rs.
1 parent 6b6837c commit 397b364

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

plugins/recent-doc/build.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ const COMMANDS: &[&str] = &[
99
];
1010

1111
fn main() {
12-
let result = tauri_plugin::Builder::new(COMMANDS)
12+
tauri_plugin::Builder::new(COMMANDS)
1313
.global_api_script_path("./api-iife.js")
14-
.android_path("android")
15-
.ios_path("ios")
16-
.try_build();
17-
18-
// when building documentation for Android the plugin build result is always Err() and is irrelevant to the crate documentation build
19-
if !(cfg!(docsrs) && std::env::var("TARGET").unwrap().contains("android")) {
20-
result.unwrap();
21-
}
14+
.build();
2215
}

0 commit comments

Comments
 (0)