Getting started with plugin development
Compiling
To compile and run the tests use the following command:
Launch it with installed Nextflow
Warning
This method will add the development version of the plugin to your Nextflow plugins
Take care when using this method and make sure that you are never using a
development version to run real pipelines.
You can delete all nf-schema
versions using this command:
- Install the current version of the plugin in your
.nextflow/plugins
folder
- Update or add the nf-schema plugin with the installed version in your test pipeline
Launch it with a local version of Nextflow
- Clone the Nextflow repo into a sibling directory
- Append to the
settings.gradle
in this project the following line:
- Compile the plugin code
- Run nextflow with this command:
Change and preview the docs
The docs are generated using Material for MkDocs. You can install the required packages as follows:
To change the docs, edit the files in the docs/ folder and run the following command to generate the docs:
To preview the docs, open the URL provided by mkdocs in your browser.