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)
Sat, Jun 29, 11:23 AM
Unknown Object (File)
Sun, Jun 23, 6:26 AM
Unknown Object (File)
Sun, Jun 23, 6:26 AM
Unknown Object (File)
Sun, Jun 23, 6:26 AM
Unknown Object (File)
Sat, Jun 22, 7:04 AM
Unknown Object (File)
Fri, Jun 21, 10:00 PM
Unknown Object (File)
Thu, Jun 20, 4:01 PM
Unknown Object (File)
Thu, Jun 20, 2:19 PM
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