is it possible to make pants use some other name f...
# general
g
is it possible to make pants use some other name for build files instead of BUILD? I am trying to use nuitka with pants on my mac, and nuitka tries to create a “build” directory, and it’s not allowed to do that because my mac considers “build” and “BUILD” to be the same path
w
Copy code
[GLOBAL]
build_patterns = ["BUILD.pants"]
🤯 1
g
thank you! this was hard to google
p
The default
build_patterns
already includes
BUILD.*
, So you can use
BUILD.pants
without changing
pants.toml
.
w
Whoa, was it always like that? I've been passing forward the same pants.toml for a while, I thought at some point BUILD.pants wasn't being picked up 🤷 Correction - I specifically didn't want BUILD files picked up, that's why I used the patterns.
r
Although it’s written in the docs that you need to tell tailor what is the BUILD file name you are using. Won’t tailor by default will generate
BUILD
if we aren’t being explicit?
p
Yes. tailor uses
BUILD
by default - there's a different setting to contribute that which does need to be modified in
pants.toml
.
👍 1