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)
Sun, Dec 8, 12:52 AM
Unknown Object (File)
Tue, Dec 3, 1:26 PM
Unknown Object (File)
Tue, Nov 26, 5:29 AM
Unknown Object (File)
Tue, Nov 26, 5:29 AM
Unknown Object (File)
Tue, Nov 26, 5:29 AM
Unknown Object (File)
Mon, Nov 25, 3:45 AM
Unknown Object (File)
Sun, Nov 24, 10:58 PM
Unknown Object (File)
Nov 15 2024, 2:28 PM

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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.