Make the checks pass on a fresh clone
- build.rs creates the empty browser-engine folder that tauri-build requires, so cargo test runs before the browser runtime is staged. - The Table Formulas tests skip with a reason when the package is not built. Before, the missing module failed two whole test files. - The installer test accepts CRLF checkouts and skips with a reason when the NSIS compiler is missing. - hostTodo.spec.mjs never ran because of its extension. Its two valid background tests move to appearance.spec.ts with current defaults. The third test repeated an existing export test. - Remove tsconfig.plugins.json. It checked the plugins/ folder, which moved to separate repositories in 0.1.7.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
fn main() {
|
||||
// tauri-build requires every bundle resource to exist. `pnpm browser:stage` fills this
|
||||
// folder for installers. An empty folder lets `cargo test` and `tauri dev` run without it.
|
||||
std::fs::create_dir_all("browser-engine").expect("failed to create browser-engine");
|
||||
tauri_build::try_build(
|
||||
tauri_build::Attributes::new().app_manifest(
|
||||
tauri_build::AppManifest::new().commands(&[
|
||||
|
||||
Reference in New Issue
Block a user