rough-minister-58256
03/18/2016, 7:30 PMpython_library
and then use a python_binary
that depends on those libraries w/ some single-file entrypoint as the runner. this makes it easier to test the python_library
bits because they’re importable and makes your python_binary
targets more composable.clever-ambulance-21321
03/18/2016, 7:31 PMclever-ambulance-21321
03/18/2016, 7:31 PMancient-stone-50795
03/18/2016, 7:31 PMrough-minister-58256
03/18/2016, 7:31 PMpython_binary
thenjolly-chef-92794
03/18/2016, 7:35 PMprovided
for libraries and as runtime
for junit tests, for example, you’d need a structure like
jar_library(foo-library) <- target(foo-library-provided) <- java_library()
jar_library(foo-library) <- target(foo-library-runtime) <- junit_tests()
or:
jar_library(foo-library-provided) <- java_library()
jar_library(foo-library-runtime) <- junit_tests()
witty-crayon-22786
03/18/2016, 7:36 PMwitty-crayon-22786
03/18/2016, 7:37 PMwitty-crayon-22786
03/18/2016, 7:37 PMwitty-crayon-22786
03/18/2016, 7:37 PMjolly-chef-92794
03/18/2016, 7:38 PMwitty-crayon-22786
03/18/2016, 7:38 PMwitty-crayon-22786
03/18/2016, 7:39 PMjolly-chef-92794
03/18/2016, 7:39 PMancient-stone-50795
03/18/2016, 7:40 PMclever-ambulance-21321
03/18/2016, 7:40 PMlimited-country-20626
03/18/2016, 7:40 PMwitty-crayon-22786
03/18/2016, 7:41 PMwitty-crayon-22786
03/18/2016, 7:42 PMstrict_deps
targets, just having a scope=compile
without any effect on transitivity would be sufficientjolly-chef-92794
03/18/2016, 7:43 PMjolly-chef-92794
03/18/2016, 7:44 PMwitty-crayon-22786
03/18/2016, 7:44 PMwitty-crayon-22786
03/18/2016, 7:45 PMwitty-crayon-22786
03/18/2016, 7:45 PMwitty-crayon-22786
03/18/2016, 7:45 PMclever-ambulance-21321
03/18/2016, 7:45 PMjolly-chef-92794
03/18/2016, 7:45 PMwitty-crayon-22786
03/18/2016, 7:46 PMclever-ambulance-21321
03/18/2016, 7:46 PMclever-ambulance-21321
03/18/2016, 7:46 PM