Skip to content

Commit

Permalink
feat: add manifest version
Browse files Browse the repository at this point in the history
  • Loading branch information
kelly-sovacool committed Nov 25, 2024
1 parent 57e8eb1 commit 8470ff2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
log.info """\
TOOL_NAME
TOOL_NAME $workflow.manifest.version
=============
NF version : $nextflow.version
runName : $workflow.runName
Expand Down
3 changes: 3 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,16 @@ dag {
}
includeConfig 'conf/modules.config'

String pipeline_version = new File("${projectDir}/VERSION").text

manifest {
name = "CCBR/TOOL_NAME"
author = "CCR Collaborative Bioinformatics Resource"
homePage = "https://github.com/CCBR/TOOL_NAME"
description = "TODO one-line description of TOOL_NAME goes here"
mainScript = "main.nf"
defaultBranch = "main"
version = "${pipeline_version}"
}

// Function to ensure that resource requirements don't go beyond
Expand Down

0 comments on commit 8470ff2

Please sign in to comment.