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

Add ignored directories method to BasicBuild #532

Open
darthorimar opened this issue Jun 20, 2017 · 1 comment
Open

Add ignored directories method to BasicBuild #532

darthorimar opened this issue Jun 20, 2017 · 1 comment

Comments

@darthorimar
Copy link
Contributor

Now BasicBuild contains only target directory which can be marked as ignored by IDE. May be useful to additionally add ingoredDirectories: Seq[File] method which by default contains Seq(target) It allow users to override this method to tell IDE what directory should not be considered as sources.
E.g. on cbt source code it would contains cache dir.

@cvogt
Copy link
Owner

cvogt commented Jun 20, 2017

Since the root directory of a project is not considered a source directory, only the .scala files inside of it to be sourceFiles, target was never included, so excluding it doesn't make sense for cbt's way of thinking about source files. I recognize that IntelliJ's model seems to only consider source directories, not files, so in order to get the .scala files in the root directory, you'd have to manage exclude of everything else. Let me think about this a bit more in order to find a solution for everything.

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

No branches or pull requests

2 participants