Page MenuHomePhabricator

[native] add yarn clean-rust to native
ClosedPublic

Authored by varun on Oct 20 2022, 9:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 18, 3:40 PM
Unknown Object (File)
Fri, Apr 18, 11:05 AM
Unknown Object (File)
Fri, Apr 18, 7:45 AM
Unknown Object (File)
Fri, Apr 18, 3:05 AM
Unknown Object (File)
Thu, Apr 17, 12:37 PM
Unknown Object (File)
Sat, Apr 12, 8:51 PM
Unknown Object (File)
Wed, Apr 9, 3:40 AM
Unknown Object (File)
Wed, Apr 9, 3:40 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.