Page MenuHomePhabricator

[native] add yarn clean-rust to native
ClosedPublic

Authored by varun on Oct 20 2022, 9:41 AM.
Tags
None
Referenced Files
F3249409: D5443.id17743.diff
Fri, Nov 15, 2:28 PM
Unknown Object (File)
Sat, Nov 9, 6:36 PM
Unknown Object (File)
Sat, Nov 9, 6:17 PM
Unknown Object (File)
Sat, Nov 9, 9:42 AM
Unknown Object (File)
Sat, Nov 9, 7:31 AM
Unknown Object (File)
Sat, Nov 9, 7:31 AM
Unknown Object (File)
Oct 10 2024, 6:56 AM
Unknown Object (File)
Oct 10 2024, 6:56 AM

Details

Summary

Some build artifacts for native now live in the native_rust_library subdirectory. We should have a yarn script to remove these artifacts, and we should also invoke this script from the yarn clean script.

Related issue: https://linear.app/comm/issue/ENG-2091/android-local-build-failure

Test Plan

cd native && yarn clean

verified that the target subdirectory was removed

Diff Detail

Repository
rCOMM Comm
Branch
clean-rust
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 20 2022, 9:43 AM
Harbormaster failed remote builds in B12938: Diff 17738!

handle case where cargo isn't available

This revision is now accepted and ready to land.Oct 20 2022, 11:14 AM

handle case where cargo isn't available

Thanks, this is critical to make sure we don't break eg. keyserver deploys

This revision was automatically updated to reflect the committed changes.