jamietre / SharpLinter

Linting tools for Visual Studio & C#
http://blog.outsharked.com/2011/08/sharplinter-command-line-tool-for.html
44 stars 12 forks source link

Automation in build process #1

Open garethowen opened 12 years ago

garethowen commented 12 years ago

love SharpLinter, but I'd really like to be able to call it with a VisualStudio solution or project file as parameter, and have it analyse all files in that project(s).

The problem with running (recursively) on a folder is that the folder may contain lots of obsolete js files. I don't want to have to clean up the folder before running the analysis because of the time involved (clean workspace, getLatestVersion).

Is this something you had considered?

I am currently writing a simple console program to parse a solution and output all the js files it contains, which I then pass to sharpLinter. But maybe this could be integrated into sharpLinter?

jamietre commented 12 years ago

Hi - I think this is a good idea, which would be useful to integrate into the app itself. If you are working on a separate program to do it, why not add it into the SharpLinter source and issue a pull request? It would be glad to have such a thing included as part of the project and would welcome outside involvement in the project. If you've looked at the source, the architecture is pretty simple (if not especially elegant) so it shouldn't be hard to add options. Feel free to ask if you have any questions about the source. I don't have a ton of time to devote to working on it (at least for the next couple weeks) but I can certainly answer questions.

garethowen commented 12 years ago

OK great, I'll do it. I'll get back to you if I have any questions.