The nf-core-utils plugin provides utility functions used by nf-core pipelines.
To build the plugin:
make assemble
The plugin can be tested without a local Nextflow installation:
- Build and install the plugin to your local Nextflow installation:
make install
- Run a pipeline with the plugin:
nextflow run hello -plugins [email protected]
Following these step to package, upload and publish the plugin:
-
In
build.gradle
make sure that:version
matches the desired release version,github.repository
matches the repository of the plugin,github.indexUrl
points to your fork of the plugins index repository.
-
Create a file named
$HOME/.gradle/gradle.properties
, where$HOME
is your home directory. Add the following properties:github_username
: The GitHub username granting access to the plugin repository.github_access_token
: The GitHub access token required to upload and commit changes to the plugin repository.github_commit_email
: The email address associated with your GitHub account.
-
Update the changelog.
-
Build and publish the plugin to your GitHub repository:
make release
-
Create a pull request against the nextflow-io/plugins repository to make the plugin publicly accessible.