-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Automate the carving process? #37
Comments
I think this could be done as a script outside of carve, using carve as a library, not as a test-runner. |
Yes in theory but is there a way to remove only one thing? Or maybe eventually carve only one file at a time? If yes I guess it could be scripted more or less easily, by backing up the file, running carve, running tests and restoring if tests failed. |
You're right, Carve could maybe have a |
So btw I just added some hacky code locally to make it run only on N number of files at a time, which works, so in theory it would be possible to script from outside as well. However I think that the analysis phase can be quite slow on a big project, and by driving it from the outside I guess that would have to be redone for every change right? |
Another thing is that potentially you don't want to run cljs tests if you are only carving clj files, so maybe the hook could be something like file-regexp => verify-fn |
The |
Yeah ok sounds good, I hacked something together externally for now to try it out but yeah it would be definitively useful to integrate this. |
Assuming someone has decent test coverage, it would be cool to semi automate the whole carving process, and one way would to:
.carveignore
I guess tests should be fast enough, but I think this would really help the initial carving on bigger projects.
What do you think @borkdude ?
The text was updated successfully, but these errors were encountered: