commons
commons copied to clipboard
Missing comma in dependencies causes pants to emit "no valid targets found" instead of properly erring out.
for example, in a BUILD file:
python_library(
name = 'foo',
sources = ['foo.py'],
dependencies = [
pants('i forgot to put a comma at the end, here ->')
pants('i am ok!'),
pants('last one!')
]
)
then
./pants py foo
gives
"No valid target specified!"
I copied this issue to https://github.com/pantsbuild/pants/issues/86 so that Pants folks will see it. http://pantsbuild.github.io/howto_contribute.html
Thanks.