Skip to content

Commit

Permalink
Disable uniffi git version by default to not mess up automated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniusnaumann committed Oct 3, 2023
1 parent 00e24b0 commit 57153e8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 17 deletions.
32 changes: 17 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ execute = "0.2.12"
indicatif = "0.17.7"

# FFI Bindings
uniffi_bindgen = { version = "0.24.3", git = "https://github.com/mozilla/uniffi-rs.git" }
uniffi_bindgen = { version = "0.24.3" }
# Allow testing with the latest dev version of UniFFI
# uniffi_bindgen = { version = "0.24.3", git = "https://github.com/mozilla/uniffi-rs.git" }

# Error Handling
anyhow = "1.0.75"
thiserror = "1.0.49"

[features]
2 changes: 1 addition & 1 deletion testing/end-to-end/package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ guard dirExists(atPath: "\(projectName)/\(packageName)/Sources/\(packageName)")
exit(1)
}
guard fileExists(atPath: "\(projectName)/\(packageName)/Sources/\(packageName)/\(libName).swift") else {
error("No lib.swift file found in module")
error("No \(libName).swift file found in module")
exit(1)
}

Expand Down

0 comments on commit 57153e8

Please sign in to comment.