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
Allow to mention the current directory in (ignored_subdirs ...) stanza #1047
Comments
Also ran into this today. Another option is to allow |
My idea was to make esy automatically add |
That's reasonable. My use case is a project that has both a BuckleScript/NPM build system, and a Dune one. Since NPM won't create a |
I suppose we could allow |
Would supporting a glob be much harder? So the above would be equivalent to |
This is not high priority for esy anymore as we now generate
Having |
@rgrinberg nope. And I just realized that we forgot to remove the extra parentheses for this stanza. At least using globs isn't incompatible with deprecating the parentheses now. Plus since it is technically a breaking change, we could only allow globs if you don't put the parentheses. |
Same here; and just ran into this problem today.
Not personally using esy, and the workaround for those of us not building a build-system is fairly easy (add a root-level Personally, although I don't have control of a consumer's whole |
@andreypopp you can now do |
@rgrinberg yes thanks! closing this then. |
In esy we fetch dependencies' sources into
node_modules
directory. That means a couple ofdune
files end up there (from dependencies) and confusedune
unless we put adune
file in a project root withThat extra
dune
file adds up to others (dune-project
anddune
files per compilation unit), I'd rather not impose another burden on esy+dune users to create it and maintain (the error due to non-ignorednode_modules
is the one beginners with esy+dune stumbl;e upon most often).Therefore I'm wondering if there's a way to add a mechanism to ignore the current directory in
(ignored_subdirs ...)
stanza so that esy could put one atnode_modules/dune
automatically.The text was updated successfully, but these errors were encountered: