Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run YUIDoc on single it #6915

Merged
merged 1 commit into from Apr 17, 2017
Merged

Run YUIDoc on single it #6915

merged 1 commit into from Apr 17, 2017

Conversation

sduquej
Copy link
Contributor

@sduquej sduquej commented Mar 27, 2017

Second part of #6565
Currently we lint docs even when explicitly passing a glob for specific files. This PR changes that behaviour, skipping doc linting in that case and keeping it for the all and lint options

Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think instead of the changes in this PR we should change https://github.com/ember-cli/ember-cli/blob/master/tests/unit/docs-lint-test.js to execute yuiDoc.run() inside of a single it() block and not generate one it() block per file which is currently causing the issue.

@rwjblue
Copy link
Member

rwjblue commented Apr 7, 2017

Agreed with @Turbo87.

@sduquej - Mind updating?

@sduquej sduquej force-pushed the no-yuidoc-on-glob branch 3 times, most recently from 85902ce to ac7ea10 Compare April 17, 2017 13:31
@sduquej sduquej changed the title Exclude yuidoc linting when testing in a mode other than all or lint Run YUIDoc on single it Apr 17, 2017
@sduquej
Copy link
Contributor Author

sduquej commented Apr 17, 2017

Updated. Does that look better @Turbo87 @rwjblue ?

Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thanks!

@Turbo87
Copy link
Member

Turbo87 commented Apr 17, 2017

@homu r+

@homu
Copy link
Contributor

homu commented Apr 17, 2017

📌 Commit 80028dd has been approved by Turbo87

@homu
Copy link
Contributor

homu commented Apr 17, 2017

⚡ Test exempted - status

@homu homu merged commit 80028dd into ember-cli:master Apr 17, 2017
homu added a commit that referenced this pull request Apr 17, 2017
Run YUIDoc on single `it`

Second part of #6565
Currently we lint docs even when explicitly passing a glob for specific files. This PR changes that behaviour, skipping doc linting in that case and keeping it for the `all` and `lint` options
@sduquej sduquej deleted the no-yuidoc-on-glob branch April 17, 2017 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants