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

stocky-account-81383

10/03/2018, 2:03 PM
but it's not cool at all
h

happy-kitchen-89482

10/03/2018, 5:28 PM
It’s a little more idiomatic to register those tasks as
build.docker
and
push.docker
, which would solve the problem.
The logic being that a goal is some generic kind of thing that needs doing, and a task is one of the several things that can do it.
E.g., if there were some docker competitor,
build
and
push
would still apply to it.
E.g., it’s
compile.java
and
test.junit
, not
java.compile
and
java.test
, if that analogy is helpful.
Oh, I see @enough-analyst-54434 has already suggested something similar.
3 Views