JsParser.Cmd.

Command line tool to verify javascript code. Based on visual studio extension: JavascriptParser. Can handle ie8 related isssues, js errors in js, html, aspx, ascx, cshtml and etc files. I create it to validate syntax errors in unit tests.


To use it, you need to specify the next arguments:
-include:*.js - path masks to include (divided by ';'), this tool can proccess files with the next extensions: js, htm, html, aspx, asp, ascx, master, cshtml
-exclude:*.min.js - path masks to exclude (divided by ';')(optional)
-directory:c:\myFiles\ - target directory with your source files.

To verify asp.net mvc pages syntax errors, you can use next command:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_compiler -v / -p "Path to the project"


Notes
Copy of the my project: https://bitbucket.org/mnk92/jsparsercommandline/overview

Last edited Apr 10, 2015 at 5:23 PM by mnk92, version 6