fresh-cat-90827
07/19/2022, 2:20 PM.project
) in the ./pants test .helloworld::
notation? Running this on the example-python repo after renaming the helloworld
to .helloworld
ends with an error:
$ ./pants test .helloworld::
15:18:35.80 [INFO] Initializing scheduler...
15:18:36.10 [INFO] Scheduler initialized.
15:18:36.17 [ERROR] 1 Exception encountered:
ResolveError: No targets found for the address glob `.helloworld::`
Do targets exist in those directories? Maybe run `./pants tailor` to generate BUILD files?
See <https://www.pantsbuild.org/v2.12/docs/targets> about targets and BUILD files.
fresh-cat-90827
07/19/2022, 2:22 PM$ ./pants test .helloworld
15:22:36.69 [ERROR] 1 Exception encountered:
ResolveError: The file or directory '.helloworld' does not exist on disk in the workspace, so the address '.helloworld' cannot be resolved.
fast-nail-55400
07/19/2022, 2:23 PM--pants-ignore
ignores .*
in the buildroot by defaultbitter-ability-32190
07/19/2022, 2:23 PMbitter-ability-32190
07/19/2022, 2:24 PMdefault:
[
".*/",
"/dist/"
]
bitter-ability-32190
07/19/2022, 2:26 PMfresh-cat-90827
07/19/2022, 2:28 PMfresh-cat-90827
07/19/2022, 2:33 PMpants_ignore.add = ["site/", "!.project"]
— nice that negation works in this case!hundreds-father-404
07/19/2022, 2:39 PMThis kind of makes me think we should provide a better error when something is ignored vs not existing.@witty-crayon-22786 would that be possible?
witty-crayon-22786
07/19/2022, 3:57 PMbitter-ability-32190
07/19/2022, 3:59 PMhundreds-father-404
07/19/2022, 4:12 PM