witty-crayon-22786
06/06/2017, 8:50 PM./pants test x
, where x is the target alias i defined above, is essentially equivalent to ./pants test y z
, afaikable-finland-42099
06/06/2017, 9:36 PMwitty-crayon-22786
06/07/2017, 12:00 AM1.3.0
, yea?witty-crayon-22786
06/07/2017, 12:00 AMenough-analyst-54434
06/07/2017, 12:01 AM-- -k...
witty-crayon-22786
06/07/2017, 12:02 AMenough-analyst-54434
06/07/2017, 12:08 AMneeds-rc-cherrypick
label and placed in a new 1.3.1 milestone.witty-crayon-22786
06/07/2017, 12:10 AMwitty-crayon-22786
06/07/2017, 12:25 AMpurple-oil-45048
06/07/2017, 1:44 AMresources
inside with your *.pex
? Or do you have your resources
alongside the *.pex
inside a *.zip
archive ?plain-sundown-25537
06/07/2017, 7:01 PMprep_command(name='prep',
prep_executable='oucommon/schemas/scripts/genAvroJava.sh',
prep_args=[],
goal='compile'
)
java_library = (..
dependencies = [":prep"]
..
doesnt seem to workplain-sundown-25537
06/07/2017, 7:03 PMplain-sundown-25537
06/07/2017, 7:04 PMhappy-kitchen-89482
06/07/2017, 9:42 PMhappy-kitchen-89482
06/07/2017, 9:43 PMwitty-crayon-22786
06/07/2017, 9:51 PM1.3.0
milestone is closed! https://github.com/pantsbuild/pants/milestone/8witty-crayon-22786
06/07/2017, 9:51 PM1.3.x
at https://github.com/pantsbuild/pants/milestone/10fast-megabyte-33579
06/07/2017, 10:26 PMplain-sundown-25537
06/07/2017, 10:48 PMwitty-crayon-22786
06/08/2017, 12:00 AMwitty-crayon-22786
06/08/2017, 12:00 AMpurple-oil-45048
06/08/2017, 12:21 AMresources() <= python_library() <= python_binary()
where <=
is a declared dependencyhappy-kitchen-89482
06/08/2017, 12:22 AMpurple-oil-45048
06/08/2017, 12:22 AMpython_binary(.., resources=[..])
works just finewitty-crayon-22786
06/08/2017, 12:23 AMhappy-kitchen-89482
06/08/2017, 12:23 AMhappy-kitchen-89482
06/08/2017, 12:23 AMpurple-oil-45048
06/08/2017, 12:24 AMpants_version : 1.2.1
witty-crayon-22786
06/08/2017, 12:24 AMdependencies
list only completely work in 1.3.0
happy-kitchen-89482
06/08/2017, 12:25 AMpython_binary(
name='app',
dependencies=[
':foo',
])
python_library(
name='foo',
dependencies=[
':templates',
'3rdparty/python:Django',
'3rdparty/python:jinja2',
],
)
resources(
name='templates',
sources=rglobs('jinja2/*'),
dependencies=[
'src/python/snowchain/django/site:templates',
]
)