-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
The martin porject currently fails to publish to crates.io because the build.rs downloads the node_modules/** to a directory that is not part of the OUT_DIR as required by cargo. Changing .target(...) to use OUT_DIR only fixes the generated file location, but not the location of the node_modules. Adding things to exclude do not seem to help. Is there a way to do this?
cargo package -p martin --dry-run fails because
error: failed to verify package tarball
450 │
451 │ Caused by:
452 │ Source directory was modified by build.rs during cargo publish. Build scripts should not modify anything outside of OUT_DIR.
453 │ Added: .../martin/target/package/martin-0.15.0/martin-ui/dist
454 │ .../martin/target/package/martin-0.15.0/martin-ui/dist/_
....
P.S. cross-posted to stackoverflow
Metadata
Metadata
Assignees
Labels
No labels