mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-05 10:21:07 +00:00
Fixes wasm-builder rerun if changed logic (#6144)
There was a bug which related in required files not being tracked of being modified. This pr fixes this bug by making sure we ignore version requirements for path dependencies and git dependencies. This also ensures that we only track `.rs` or `.toml` files. Another improvement is that we only include paths which don't contain a `Cargo.toml` if this `Cargo.toml` does not belongs to the package being processed. This prevents that sub-crates are added to the tracked files, while not being part of the dependencies.
This commit is contained in:
1 parent
9906a2e39d
commit
0f28f4bf49
3 files changed
+55
-38
No files matched your search
@@ -14,10 +14,10 @@ targets = ["x86_64-unknown-linux-gnu"]
|
||||
|
||||
[dependencies]
|
||||
build-helper = "0.1.1"
|
||||
cargo_metadata = "0.9.0"
|
||||
cargo_metadata = "0.10.0"
|
||||
tempfile = "3.1.0"
|
||||
toml = "0.5.4"
|
||||
walkdir = "2.2.9"
|
||||
walkdir = "2.3.1"
|
||||
fs2 = "0.4.3"
|
||||
wasm-gc-api = "0.1.11"
|
||||
atty = "0.2.13"
|
||||
|
||||
Reference in new issue
Block a user