Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Finds Files With Custom Extensions #4

Closed
wants to merge 1 commit into from
Closed

Finds Files With Custom Extensions #4

wants to merge 1 commit into from

Conversation

lourenco
Copy link

No description provided.

@sindresorhus
Copy link
Member

It's unfortunately not that easy. We expand directories, so if you do $ ava test it finds all the .js files in the test directory. The solution would be to either add support for globs with explicit file extensions, so if you do $ ava test/*.coffee we would only look for the .coffee extension. Alternatively, add a --ext flag to AVA where people can add their own extensions.

@sindresorhus
Copy link
Member

Closing in favor of #9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants