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)
Wed, Dec 18, 5:33 PM
Unknown Object (File)
Wed, Dec 18, 5:33 PM
Unknown Object (File)
Wed, Dec 18, 5:33 PM
Unknown Object (File)
Wed, Dec 18, 10:58 AM
Unknown Object (File)
Fri, Dec 6, 8:00 AM
Unknown Object (File)
Fri, Dec 6, 7:59 AM
Unknown Object (File)
Fri, Dec 6, 7:58 AM
Unknown Object (File)
Fri, Dec 6, 7:57 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