https://pantsbuild.org/ logo
#general
Title
# general
g

gray-shoe-19951

12/14/2022, 1:50 AM
Another quick question: what is right syntax for pants_ignore.remove? I know we can do pants_ignore.add.
h

happy-kitchen-89482

12/14/2022, 2:20 AM
Is the default value ignoring something you need?
g

gray-shoe-19951

12/14/2022, 2:23 AM
I was using pants_ignore.add =[!xxx] to un-ignore what in gitignore. But that syntax seems wired. So trying to see better ways
h

happy-kitchen-89482

12/14/2022, 2:25 AM
You might have to set
pants_ignore_use_gitignore = false
and then add back the parts of gitignore that you do want to use
because otherwise .gitignore rules are applied before pants_ignore
g

gray-shoe-19951

12/14/2022, 2:25 AM
Thx got you
3 Views