How to use Console Application

First of all the AllowedDependencies.xml has to be configured. It can be simply specified which dependencies are allowed.

<files>
  <file name="main.js">
    <allowed></allowed>
  </file>
  <file name="Script.js">
    <allowed>main.js</allowed>
  </file>
</files>

After that the Console Application can be executed and the files to analyse have to be passed as command line arguments. It is allowed to use wildcards.
JsAnalyse.Console.exe "C:\Scripts\Main\*.js" "C:\Scripts\Sub\Script.js"

Last edited Nov 23, 2011 at 11:19 AM by tstune, version 3

Comments

No comments yet.