Remove trailing whitespace from the galaxy init Jinja2 template. Default a description.

pull/14982/head
Justin Phelps 9 years ago
parent 7587c20d27
commit d604c8c3a6

@ -251,6 +251,7 @@ class GalaxyCLI(CLI):
inject = dict( inject = dict(
author = 'your name', author = 'your name',
description = 'your description',
company = 'your company (optional)', company = 'your company (optional)',
license = 'license (GPLv2, CC-BY, etc)', license = 'license (GPLv2, CC-BY, etc)',
issue_tracker_url = 'http://example.com/issue/tracker', issue_tracker_url = 'http://example.com/issue/tracker',

@ -1,6 +1,6 @@
galaxy_info: galaxy_info:
author: {{ author }} author: {{ author }}
description: {{description}} description: {{ description }}
company: {{ company }} company: {{ company }}
# If the issue tracker for your role is not on github, uncomment the # If the issue tracker for your role is not on github, uncomment the
@ -38,7 +38,7 @@ galaxy_info:
# - all # - all
{%- for version in versions %} {%- for version in versions %}
# - {{ version }} # - {{ version }}
{%- endfor %} {%- endfor -%}
{%- endfor %} {%- endfor %}
galaxy_tags: [] galaxy_tags: []

Loading…
Cancel
Save