-
Notifications
You must be signed in to change notification settings - Fork 8
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
(Optionally) delete non-nix files #22
Comments
From reading through the Spago and PureScript code, I believe what happens in the case of JS compilation with So my understanding is that it doesn't really delete the There are two other things related to this:
|
Ah, that makes sense.
I don't actually have experience writing this sort of logic, so maybe I'm overestimating the problem, but it seems to me like this could be hard to get right, especially if we want to be able to run on different OS'es? Maybe what we could do instead is accept file path arguments, that way we could fit into things like
That seems like a great idea. What does the JS interface to that file look like? How does that interact with FFI files? |
I was under the impression that this is basically the logic that https://www.gnu.org/software/make/manual/make.html#Preparing
I'm guessing we could probably do something similar. My guess is that
I think this is a good point. My guess is that our conversion is way faster than all the type-checking that I'll create a separate issue about this.
I don't actually know that much about the bundling process. I'll create a separate issue about it. (edit: created at #26) |
I created an issue for potentially not running Although, if we deleted the |
Currently,
purenix
will only create new files. Maybe it's a good idea to also delete the json files once we're done with them, to leave the directory in as clean a state as possible? AFAICT that's what the JS backend does too.The text was updated successfully, but these errors were encountered: