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

"Stubs" are generated into out directory in project #2069

Closed
thheller opened this issue Oct 16, 2018 · 3 comments
Closed

"Stubs" are generated into out directory in project #2069

thheller opened this issue Oct 16, 2018 · 3 comments
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build
Milestone

Comments

@thheller
Copy link

Generating stubs for Cursive should not pollute the project directory with an out directory containing .cache.json files.

Calling lein new fulcro fulcro-app and then creating a new Cursive project using the project.clj will ask to generate the stubs and ends up putting them into out. There is no way to configure this as far as I can tell and I'd like the files to not be there as I'm using out for different purposes.

The default should probably generate them either into target or some other folder outside the project since its only relevant to Cursive.

@cursive-ide
Copy link
Owner

Cursive doesn't generate anything like that (it only generates clj and cljs files), and they're stored in an app-specific location outside the project. The only thing I can think of is that these are files created by the CLJS analyzer when analyzing CLJS files. I'll look at this and see if I can fix it.

@thheller
Copy link
Author

Don't know how which API you are calling to generate the stubs but setting either :output-dir "...some/path" or :cache-analysis false should take care of it.

@cursive-ide cursive-ide added this to the 1.8.1 milestone Dec 4, 2018
@cursive-ide
Copy link
Owner

:cache-analysis false did the trick, thanks!

@cursive-ide cursive-ide modified the milestones: 1.8.1, 1.8.1-eap1 Jan 10, 2019
@cursive-ide cursive-ide added the bug Marks issues describing bugs label Sep 22, 2020
@cursive-ide cursive-ide added the released Marks issues which have had the fixes released in a stable build label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build
Projects
None yet
Development

No branches or pull requests

2 participants