-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass data between tools / recipes #17
Comments
I like this idea, but am unsure how to implement it, or what it would look like in the tool yaml and recipe yaml files. I wonder if there's an elegant way to combine these two features or if they should be separate. |
or maybe it should be referenced like this, |
I like your idea of namespacing data, #include msvc14.yaml and then reference msvc14.cmake_gen |
msvc14.yaml + msvc14.cmake_gen certainly is easier on the fingers. I'll play around with it a bit today to see what I can come up with. |
Ok here's a PR to pass static variables from tools to the recipes that use them: #29 It doesn't really solve the whole feature request. I still don't have a good idea of how to set variables dynamically in a recipe to be used by downstream recipes. If you have any good ideas, lemme know. |
Looks good to me. For recipes passing data to downstream recipes, could a recipe have its own namespace? recipeA recipeB |
For passing data between, here are some basic cases:
a. A compiler tool may output its path to downstream recipes, for the downstream recipes to
call the tool
b. A build recipe may output some paths to downstream recipes, for the downstream recipes to
use
c. A build recipe may output some scripts to downstream recipes, for the downstream recipes to
parameterize and call
d. A test recipe may run a test and output the path to a performance data file.
Then in my external sequencer, I could run Mussels again passing in the path to a graph
render recipe.
The text was updated successfully, but these errors were encountered: