Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template: add option to exclude license from pipeline template #3125

Merged
merged 4 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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."
mirpedrol marked this conversation as resolved.
Show resolved Hide resolved
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.

Loading