Lazy loading an addin #3420
Replies: 3 comments 2 replies
-
What's your use case? Running integration tests in a build pipeline for an addin? |
Beta Was this translation helpful? Give feedback.
-
In the end, you'd only need to ensure that the tool is available somewhere in the path or in the tools folder. |
Beta Was this translation helpful? Give feedback.
-
Don't know if it helps, but you can control the location of tools, addins, and modules by specifying environment variables. cake/tests/integration/Cake.Core/Scripting/AddinDirective.cake Lines 18 to 27 in 80c431f |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I would like to load and use a cake addin that's build in/by the same cake script.
I suppose I could do something similar to this: have the 'main' script generate a tmp.cake with the path to addin (addin path is known only at build time) and a second script that calls the tmp one and does it's magic.
Could there be a nicer/simpler way of doing it?
Thanks,
Simo
Beta Was this translation helpful? Give feedback.
All reactions