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

jolly-chef-92794

03/18/2016, 7:35 PM
If we use the target indirection scheme, and someone wanted a jar_library to be used as
provided
for libraries and as
runtime
for junit tests, for example, you’d need a structure like
Copy code
jar_library(foo-library) <- target(foo-library-provided) <- java_library()
jar_library(foo-library) <- target(foo-library-runtime) <- junit_tests()
or:
Copy code
jar_library(foo-library-provided) <- java_library()
jar_library(foo-library-runtime) <- junit_tests()