Skip to content

Commit

Permalink
Merge pull request #3125 from mirpedrol/template-customisation-license
Browse files Browse the repository at this point in the history
Template: add option to exclude license from pipeline template
  • Loading branch information
mirpedrol committed Aug 20, 2024
2 parents 1298583 + 34565c1 commit 92e0953
Show file tree
Hide file tree
Showing 3 changed files with 272 additions and 256 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- add option to exclude changelog from custom pipeline template ([#3104](https://github.com/nf-core/tools/pull/3104))
- handle template features with a yaml file ([#3108](https://github.com/nf-core/tools/pull/3108))
- add templatefeatures.yml to python package ([#3112](https://github.com/nf-core/tools/pull/3112))
- add option to exclude license from pipeline template ([#3125](https://github.com/nf-core/tools/pull/3125))

### Linting

Expand Down
15 changes: 15 additions & 0 deletions nf_core/pipelines/create/templatefeatures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,18 @@ changelog:
- "CHANGELOG.md"
nfcore_pipelines: False
custom_pipelines: True
license:
skippable_paths:
- "LICENSE"
short_description: "Add a license File"
description: "Add the MIT license file."
help_text: |
To protect the copyright of the pipeline, you can add a LICENSE file.
This option ads the MIT License. You can read the conditions here: https://opensource.org/license/MIT
linting:
files_exist:
- "LICENSE"
files_unchanged:
- "LICENSE"
nfcore_pipelines: False
custom_pipelines: True
512 changes: 256 additions & 256 deletions tests/pipelines/__snapshots__/test_create_app.ambr

Large diffs are not rendered by default.

0 comments on commit 92e0953

Please sign in to comment.