Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Check if the checkout has been --clone'd yet #12856
As requested in SR-6312 a simple diagnostic to catch the error of not passing --clone the first time you run update-checkout. Checks whether there is just one directory (i.e. the swift/ directory) in SWIFT_SOURCE_ROOT and prints a message.
This doesn't touch Swift itself, so I'm not sure whether it requires a CI test.
Thanks, Alper! I think some people are checking out swift/ into a shared directory, so I'd rather check for, say, cmark/, llvm/, and clang/ specifically—if you have any of those, you probably know what you're doing. What do you think?
(And yeah, technically this shouldn't need pre-merge testing but it's a blanket requirement on all PRs.)