Last change
on this file since 7355 was
7352,
checked in by abeham, 13 years ago
|
#1759
- Added simple command file to execute FxCop rules from HeuristicLab.FxCop.dll on all HeuristicLab.*.dll files in the bin directory
|
File size:
427 bytes
|
Line | |
---|
1 | @ECHO OFF
|
---|
2 |
|
---|
3 | SET Outdir=bin
|
---|
4 | SET FXCOPCMD=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe
|
---|
5 |
|
---|
6 | ECHO. > FxCopResults.txt
|
---|
7 |
|
---|
8 | FOR /F "tokens=*" %%G IN ('DIR /B %Outdir%\HeuristicLab.*.dll') DO (
|
---|
9 | ECHO Performing Code Analysis on %Outdir%\%%G
|
---|
10 | "%FXCOPCMD%" /file:%Outdir%\%%G /rule:+HeuristicLab.FxCop.dll /directory:%Outdir% /console /quiet >> FxCopResults.txt
|
---|
11 | )
|
---|
12 |
|
---|
13 | PAUSE |
---|
Note: See
TracBrowser
for help on using the repository browser.