flaky-beard-52072
11/09/2020, 5:29 PMAnything we can help with with trying out Pants?I have a bunch of questions related to differences from bazel. I have an intermediate level of bazel experience: I've written some very simple rules, and defined the build a medium sized multi-language project. is there some "compared to bazel" doc somewhere?
witty-crayon-22786
11/09/2020, 5:37 PMwitty-crayon-22786
11/09/2020, 5:37 PMflaky-beard-52072
11/09/2020, 5:38 PMwitty-crayon-22786
11/09/2020, 5:38 PMflaky-beard-52072
11/09/2020, 5:38 PMwitty-crayon-22786
11/09/2020, 5:39 PMhundreds-father-404
11/09/2020, 5:39 PMwitty-crayon-22786
11/09/2020, 5:39 PMflaky-beard-52072
11/09/2020, 5:39 PMflaky-beard-52072
11/09/2020, 5:39 PMwitty-crayon-22786
11/09/2020, 5:40 PMhundreds-father-404
11/09/2020, 5:41 PM!
and !!
in the dependencies
field: https://www.pantsbuild.org/docs/targets#dependencies-and-dependency-inferencewitty-crayon-22786
11/09/2020, 5:41 PMhundreds-father-404
11/09/2020, 5:41 PMflaky-beard-52072
11/09/2020, 5:47 PMwitty-crayon-22786
11/09/2020, 5:48 PMwitty-crayon-22786
11/09/2020, 5:49 PMflaky-beard-52072
11/09/2020, 5:50 PMflaky-beard-52072
11/09/2020, 5:50 PMwitty-crayon-22786
11/09/2020, 5:51 PMflaky-beard-52072
11/09/2020, 5:51 PMwitty-crayon-22786
11/09/2020, 5:52 PMwitty-crayon-22786
11/09/2020, 5:52 PMwitty-crayon-22786
11/09/2020, 5:53 PMwitty-crayon-22786
11/09/2020, 5:54 PMflaky-beard-52072
11/09/2020, 5:54 PMhundreds-father-404
11/09/2020, 5:54 PMbut no one has tackled a second language at this pointOutside of support for Bash in our example plugin repo, which integrates with Shfmt, Shellcheck, and Shunit2 test runner. https://github.com/pantsbuild/example-plugin
witty-crayon-22786
11/09/2020, 5:54 PMflaky-beard-52072
11/09/2020, 5:55 PMwitty-crayon-22786
11/09/2020, 5:57 PMhundreds-father-404
11/09/2020, 5:58 PMwitty-crayon-22786
11/09/2020, 6:00 PM@rule
API already supports having differentiated subgraphs based on platform information, and it’s used to invoke as many instances of tools as are necessary (one per relevant python interpreter, for example), but we haven’t used it to support crossbuilds the way toolchains mightwitty-crayon-22786
11/09/2020, 6:02 PMflaky-beard-52072
11/09/2020, 7:07 PMwitty-crayon-22786
11/09/2020, 7:16 PM@rule
API naturally enables .. but right now the reason it is simpler is that it is incomplete