some-farmer-9761407/31/2020, 1:57 PM
hundreds-father-40407/31/2020, 3:25 PM
files if you haven’t gone all in on using the new feature of dependency inference.
some-farmer-9761407/31/2020, 8:16 PM
hundreds-father-40407/31/2020, 8:18 PM
some-farmer-9761407/31/2020, 8:18 PM
some-farmer-9761407/31/2020, 8:19 PM
hundreds-father-40407/31/2020, 8:20 PM
some-farmer-9761407/31/2020, 8:20 PM
hundreds-father-40407/31/2020, 8:21 PM
How do I get my IDE to recognize the pants imports in plugins and find the code for them?See the last sentence of https://www.pantsbuild.org/v2.0/docs/plugins-overview#tip-set-up-your-plugin-with-the-python-backend about how to set up a venv. The example plugin has a script you can copy under
some-farmer-9761407/31/2020, 10:21 PM
Mind sharing about what your plugin is that you’re working on?I'm just trying to invoke
to compile rust binaries for me. I don't need it to be deeply integrated, just kind of take the rust source directory, invoke the command and output a binary, that I can depend on for another target.
witty-crayon-2278608/03/2020, 9:39 PM
hundreds-father-40408/03/2020, 9:47 PM
to discover where cargo is installed on their machine in a generic way: https://www.pantsbuild.org/v2.0/docs/rules-api-installing-tools Even simpler is to assume a fixed absolute path, like
or wherever. While iterating, I recommend doing that. Then generalize when relevant.
witty-crayon-2278608/03/2020, 9:54 PM