-
Notifications
You must be signed in to change notification settings - Fork 1
Ensure that all tests only run on the files they should run on #21
Comments
I have made some changes to this @svx At the moment if you specify a file it test that file, if you specify nothing it checks the whole directory. But really we should match the usage here - https://github.com/errata-ai/vale#usage and due to the Docker mapping this starts to get complicated, so I'm not really sure of the best way to proceed tbh. |
@ChrisChinchilla What do you mean ? |
When we first planned this we meant the ability to specify what MD, rst files to check when you run the redactor command, but now I think about it, with the changes I pushed to the Vale file type day, maybe that's enough. It still just checks everything that matches in the folder specified, but for our use case, maybe that works. Ah well, had fun playing with the code. |
@ChrisChinchilla I do not understand what you are doing here. That is also why I do not get why you changed the Like I said I am not sure if we are talking about the same way of implementation here. Let me explain how this works in my idea and how it is written and implemented. First, rakpart and redactor are not certainly depending on each other. You can use rakpart checks, but you do not have to, I use for example lots of the rakpart checks, "standalone" or in scripts, makefiles or on CI. The configuration of redactor is done via a toml/yaml file, where you configure checks and settings. Because of this I do not get why you changed Maybe you have other ideas, not sure, but then we have to talk, fork or something else :) Thanks ! :) |
@svx I understand how things are implemented, and our ideas, there's no need to start talking about forks. This suggestion was purely to address something we discussed at the hackathon. That was instead of redactor checking all files in the path passed, that you can specify files, a glob etc instead to be more selective. To do this, the Dockerfile and But as I said above I don't think I've heard the mention of redactor config file before though, which I'm still not sure would solve this use case or not because the Dockerfile still just receives a folder as far as I can see. But again, maybe we don't even need it anyway. PS, check twitter, trying to talk to you about something with someone else :) |
Or maybe jump on Gitter for some in-real-time chat |
No description provided.
The text was updated successfully, but these errors were encountered: