FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

feat: make API optional

Merged Dr Rich Wareham requested to merge make-api-optional into master
10 files
+ 69
25
Compare changes
  • Side-by-side
  • Inline
Files
10
+ 5
0
@@ -7,9 +7,14 @@ import os
REMOVE_PATHS = [
{%- if cookiecutter.include_ui == 'NO' %}
"{{ cookiecutter.ui_module }}",
{% endif %}
{%- if cookiecutter.include_ui == 'NO' and cookiecutter.include_api == 'YES' %}
"{{ cookiecutter.project_module }}/pipelines.py",
"{{ cookiecutter.project_module }}/test/test_pipelines.py",
{% endif %}
{%- if cookiecutter.include_api == 'NO' %}
"{{ cookiecutter.api_module }}",
{% endif %}
]
print("Removing any paths not needed in boilerplate...")
Loading