Add make install rule to make dev work easier #126
Conversation
I'm not sure I really like having the development version in my plugins folder. I agree the setup could be made a lot easier though. Maybe we can find a compromise? |
Yeah I don't know if this is perfect, in theory you don't have to use it though. I removed the docs for the old style setup, but actually there is no reason if you would prefer to keep that as the "preferred" method (other than no one could make it work in the pressure of the hackathon 😂 ) and this can just be an alternative! @bentsherman may have more thoughts on the long-term viability of this method as I stole it from him! |
Can you maybe re-add a subsection detailing the old way? I do like your way though, but it can cause some problems, so providing an alternative can be nice? |
Updated the docs to restore the original method (although we should try to address why people had issues with it) and add the |
Thanks @awgymer! I agree that the new |
At some point I will document this approach in the nf-hello repo for posterity. But could you also create an issue for the error you were encountering with the normal approach? There may be an issue with the plugin boilerplate code and the Nextflow plugin system, unfortunately it is possible for them to get out of sync without our noticing |
I was following the instructions on the nf-validation website, I'm not sure if perhaps there are different instructions provided elsewhere I should have followed? |
The instructions are correct, I just wanted to see the error message so that I can look for potential issues in the Nextflow codebase |
So, after following the instructions on the I did get some warnings when I compiled nextflow:
And then I ran:
Let me know if you want this info in an issue elsewhere |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as an alternative way of installing it :)
This has been implemented in |
Implements the
make install
rule fromnf-prov
.Switches to using
NXF_PLUGINS_DIR
as install location (based on Nextflow logic for deriving that location) but can be overridden on command line like all make variables.