Skip to content

Commit

Permalink
style: fix formatting of init templates
Browse files Browse the repository at this point in the history
  • Loading branch information
tigarmo committed Jan 24, 2025
1 parent 30ecaae commit bd68926
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
21 changes: 10 additions & 11 deletions rockcraft/templates/django-framework/rockcraft.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ name: {{name}}
# see {{versioned_url}}/explanation/bases/
# for more information about bases and using 'bare' bases for chiselled rocks
base: [email protected] # the base environment for this Django application
version: '0.1' # just for humans. Semantic versioning is recommended
version: "0.1" # just for humans. Semantic versioning is recommended
summary: A summary of your Django application # 79 char long summary
description: |
This is {{name}}'s description. You have a paragraph or two to tell the
most important story about it. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the
container registries out there.
This is {{name}}'s description. You have a paragraph or two to tell the
most important story about it. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the
container registries out there.
# the platforms this rock should be built on and run on.
# you can check your architecture with `dpkg --print-architecture`
platforms:
amd64:
# arm64:
# ppc64el:
# s390x:
amd64:
# arm64:
# ppc64el:
# s390x:

# to ensure the django-framework extension functions properly, your Django project
# should have a structure similar to the following with ./{{snake_name}}/{{snake_name}}/wsgi.py
Expand All @@ -33,8 +33,7 @@ platforms:
# +-- rockcraft.yaml

extensions:
- django-framework

- django-framework
# uncomment the sections you need and adjust according to your requirements.
# parts:
# django-framework/dependencies:
Expand Down
21 changes: 10 additions & 11 deletions rockcraft/templates/flask-framework/rockcraft.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,28 @@ name: {{name}}
# see {{versioned_url}}/explanation/bases/
# for more information about bases and using 'bare' bases for chiselled rocks
base: [email protected] # the base environment for this Flask application
version: '0.1' # just for humans. Semantic versioning is recommended
version: "0.1" # just for humans. Semantic versioning is recommended
summary: A summary of your Flask application # 79 char long summary
description: |
This is {{name}}'s description. You have a paragraph or two to tell the
most important story about it. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the
container registries out there.
This is {{name}}'s description. You have a paragraph or two to tell the
most important story about it. Keep it under 100 words though,
we live in tweetspace and your description wants to look good in the
container registries out there.
# the platforms this rock should be built on and run on.
# you can check your architecture with `dpkg --print-architecture`
platforms:
amd64:
# arm64:
# ppc64el:
# s390x:
amd64:
# arm64:
# ppc64el:
# s390x:

# to ensure the flask-framework extension works properly, your Flask application
# should have an `app.py` file with an `app` object as the WSGI entrypoint.
# a `requirements.txt` file with at least the flask package should also exist.
# see {{versioned_url}}/reference/extensions/flask-framework
# for more information.
extensions:
- flask-framework

- flask-framework
# uncomment the sections you need and adjust according to your requirements.
# parts: # you need to uncomment this line to add or update any part.

Expand Down

0 comments on commit bd68926

Please sign in to comment.