Hi all, I have an odd problem which is hopefully n...
# welcome
g
Hi all, I have an odd problem which is hopefully not the first time you've heard of it. We use flutter dart in our monorepo and it autogenerates
build
directories. We are unable to add a
BUILD
file into the same directory because the names are "the same" on a MacBook... 😞 This problem would obviously not be present on a Linux box or if we changed the mac filesystem to be case sensitive, but they both seem like sledgehammers - is there a simpler solution?
1
h
Hi! Pants will recognize
BUILD.pants
as valid too. And you can customize it here: https://www.pantsbuild.org/docs/reference-global#build_patterns
g
That's really helpful - thank you 🙂
❤️ 1
h
BUILD.anything, in fact
And whose bright idea was it for a filesystem to be case-insensitive...
g
I know - right? and when Macs are "built on" bsd, which is case sensitive
f
You may also consider using the .BUILD file name. I found it to be very helpful because it comes first in the list, which makes navigating around and opening files quick. Those people who don't care about them may also consider hiding them along with other dot files. Just an idea.