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

This commit is contained in:
Justin Phelps 2016-03-15 16:27:33 -05:00
parent 7587c20d27
commit d604c8c3a6
2 changed files with 8 additions and 7 deletions

View file

@ -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',

View file

@ -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: []