Is there a standard solution for experimental dire...
# general
r
Is there a standard solution for experimental directories, in which you want to ignore directories for linting and testing and almost everything, but you still want to use pants to run and test things in there when you explicitly need to?
c
Interestingly enough, it seems that this could be used in this scenario: https://github.com/pantsbuild/pants/pull/20818 See related thread: https://pantsbuild.slack.com/archives/C046T6T9U/p1713356683528219 Also relevant is the https://www.pantsbuild.org/2.19/reference/global-options#pants_ignore and https://www.pantsbuild.org/2.19/reference/global-options#build_ignore options, which may be a even better fit for entire sub trees rather than individual targets which the linked thread was about.
Also, using aliases to help toggle options on/off is helpful to make the CLIx (CLI experience) better https://www.pantsbuild.org/2.19/reference/subsystems/cli#alias
r
Thanks @curved-television-6568, these look interesting. I think maybe a sane option is the CLI aliases to define the group of tests and lint that we care about for easy testing, and just let everyone have a build file.
👍 1