Page MenuHomePhabricator

[native] Delete native/ios/.xcode.env.local on clean
ClosedPublic

Authored by ashoat on Jan 4 2023, 6:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 4, 12:09 AM
Unknown Object (File)
Sun, Nov 3, 1:15 AM
Unknown Object (File)
Sun, Nov 3, 1:15 AM
Unknown Object (File)
Sun, Nov 3, 1:15 AM
Unknown Object (File)
Sun, Nov 3, 1:15 AM
Unknown Object (File)
Sun, Nov 3, 1:13 AM
Unknown Object (File)
Fri, Nov 1, 5:38 AM
Unknown Object (File)
Oct 7 2024, 1:12 AM
Subscribers

Details

Summary

Without this, subsequent runs of yarn cleaninstall do not overwrite this file. We want each run of yarn cleaninstall to update the file, so that a user can switch from a Homebrew-managed Node to a Nix-managed Node without needing to manually delete the file. (You just need to run nix develop and then yarn cleaninstall, and the file will be overwritten.)

Test Plan

I wrote a garbage path to native/ios/.xcode.env.local, then ran yarn cleaninstall and confirmed it was fixed

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.Jan 4 2023, 6:41 PM
Harbormaster failed remote builds in B15094: Diff 20587!

Add -f so command doesn't fail if file doesn't exist

ashoat requested review of this revision.Jan 4 2023, 7:03 PM
This revision is now accepted and ready to land.Jan 5 2023, 8:41 AM