Skip to content

[CI] Add scripts to detect carriage return and tab#4526

Merged
wing328 merged 7 commits intoswagger-api:masterfrom
wing328:detect_carriage_return
Jan 9, 2017
Merged

[CI] Add scripts to detect carriage return and tab#4526
wing328 merged 7 commits intoswagger-api:masterfrom
wing328:detect_carriage_return

Conversation

@wing328
Copy link
Copy Markdown
Contributor

@wing328 wing328 commented Jan 9, 2017

PR checklist

  • Read the contribution guildelines.
  • Ran the shell/batch script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)
  • Filed the PR against the correct branch: master for non-breaking changes and 2.3.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Add scripts to detect carriage return and tab in templates and generators.

@wing328 wing328 added this to the v2.2.2 milestone Jan 9, 2017
@wing328 wing328 merged commit 4d4af71 into swagger-api:master Jan 9, 2017
davidgri pushed a commit to davidgri/swagger-codegen that referenced this pull request May 11, 2017
* add script to detect carriage return

* add check for generator as well

* add fail fast to travis config

* remove tab

* move scripts under bin/utils

* remove carriage return

* move scripts to bin/utils
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant