mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Merge pull request #3514 from browniebroke/fix/bash-expansion
Double quote array expansions to avoid re-splitting elements
This commit is contained in:
commit
e63578f56c
|
@ -11,7 +11,7 @@ mkdir -p .cache/bare
|
|||
cd .cache/bare
|
||||
|
||||
# create the project using the default settings in cookiecutter.json
|
||||
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=n $@
|
||||
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=n "$@"
|
||||
cd my_awesome_project
|
||||
|
||||
# Install OS deps
|
||||
|
@ -42,4 +42,4 @@ then
|
|||
fi
|
||||
|
||||
# Generate the HTML for the documentation
|
||||
cd docs && make html
|
||||
cd docs && make html
|
||||
|
|
|
@ -11,7 +11,7 @@ mkdir -p .cache/docker
|
|||
cd .cache/docker
|
||||
|
||||
# create the project using the default settings in cookiecutter.json
|
||||
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=y $@
|
||||
cookiecutter ../../ --no-input --overwrite-if-exists use_docker=y "$@"
|
||||
cd my_awesome_project
|
||||
|
||||
# Lint by running pre-commit on all files
|
||||
|
@ -40,4 +40,4 @@ docker-compose -f local.yml run django python manage.py makemessages --all
|
|||
docker-compose -f local.yml run django python manage.py check --fail-level WARNING
|
||||
|
||||
# Generate the HTML for the documentation
|
||||
docker-compose -f local.yml run docs make html
|
||||
docker-compose -f local.yml run docs make html
|
||||
|
|
|
@ -13,7 +13,7 @@ updates:
|
|||
{%- if cookiecutter.use_docker == 'y' %}
|
||||
|
||||
# Enable version updates for Docker
|
||||
# We need to specify each Dockerfile in a separate entry because Dependabot doesn't
|
||||
# We need to specify each Dockerfile in a separate entry because Dependabot doesn't
|
||||
# support wildcards or recursively checking subdirectories. Check this issue for updates:
|
||||
# https://github.com/dependabot/dependabot-core/issues/2178
|
||||
- package-ecosystem: "docker"
|
||||
|
@ -38,7 +38,7 @@ updates:
|
|||
# Check for updates to GitHub Actions every weekday
|
||||
schedule:
|
||||
interval: "daily"
|
||||
|
||||
|
||||
# Enable version updates for Docker
|
||||
- package-ecosystem: "docker"
|
||||
# Look for a `Dockerfile` in the `compose/production/aws` directory
|
||||
|
|
|
@ -14,11 +14,11 @@
|
|||
</component>
|
||||
<component name="NewModuleRootManager">
|
||||
{% if cookiecutter.js_task_runner != 'None' %}
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/node_modules" />
|
||||
</content>
|
||||
{% else %}
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
{% else %}
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
{% endif %}
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
{% block inline_javascript %}
|
||||
{% comment %}
|
||||
Script tags with only code, no src (defer by default). To run
|
||||
with a "defer" so that you run run inline code:
|
||||
with a "defer" so that you run inline code:
|
||||
<script>
|
||||
window.addEventListener('DOMContentLoaded', () => {/* Run whatever you want */});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue
Block a user