-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from mirpedrol/make-install
update Makefile and add option to compile and install to the plugins directory
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,27 @@ To test with Nextflow for development purpose: | |
./launch.sh run -plugins nf-co2footprint <script/pipeline name> [pipeline params] | ||
``` | ||
|
||
## Alternative: Compile and install to Nextflow plugins directory | ||
|
||
!!! warning | ||
|
||
This will install the compiled plugin code into your `$NXF_PLUGINS_DIR` directory (default: `${HOME}/.nextflow/plugins`). | ||
If the plugin version from the manifest file (`plugins/nf-co2footprint/src/resources/META-INF/MANIFEST.MF`) of the dev code matches an existing plugin, any install will be overwritten. | ||
|
||
1. Compile and install the plugin code | ||
|
||
```bash | ||
make compile | ||
make install | ||
``` | ||
|
||
2. Run nextflow with this command, specifying the plugin version: | ||
|
||
```bash | ||
nextflow run -plugins [email protected] <script/pipeline name> [pipeline params] | ||
``` | ||
|
||
|
||
## Change and preview the docs | ||
|
||
The docs are generated using [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/). To change the docs, edit the files in the [docs/](docs/) folder and run the following command to generate the docs (after installing mkdocs via `pip install mkdocs-material`): | ||
|