freezing-lamp-12123
12/06/2022, 8:24 PMThere is a predefined rule to go from PexProcess -> Process, so Get(ProcessResult, Process) will cause the engine to run PexProcess -> Process -> ProcessResult.is it possible to create your own external tool installer which runs a specific command to get the environment correctly setup, similar to the pex machinery and
PexRequest
/ PexProcess
?hundreds-father-404
12/06/2022, 8:47 PMGoSdkProcess
for example. You basically define a (data)class that has all the values you want your rules to give, and then write a helper rule going from MyCustomProcess -> Process
. That's itfreezing-lamp-12123
12/06/2022, 8:48 PMhundreds-father-404
12/06/2022, 8:48 PMGet(Pex, PexRequest)
stuff for example. Often that is used to form part of the input_digest
for the MyCustomProcess
part.
In other words, one step is a) how do I install this tool?, and then b) how do I invoke this tool in a Process?freezing-lamp-12123
12/06/2022, 8:51 PMnix
spelunking :)