|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
Tree TrimThis is a command line tool that trims your source code tree. It removes debug files, source control bindings, and temporary files. An example would be: treetrim.console.exe c:\my\tree -deletefromdisk This would delete the debug files and folders in c:\my\tree Updates: v.1.0.1
It is based on the excellent CleanSourcesPlus project. It can compress, email, or copy the output. The tool is plugin based so can be extended to include whatever functionality you wish. It can be included as a task in your CI environment. For more information, please see the FAQ page Examples of the command lineHere's a couple of examples of the command line: treetrim.console c:\my\tree -deletefromdisk This removes the debug files and folders found in your source tree treetrim.console c:\my\tree -workingcopy -deletefromdisk This makes a working copy and removes the debug files and folders from the working copy. treetrim.console c:\my\tree -workingcopy -deletefromdisk -zip:writeTo:c:\out.zip This makes a working copy, removes the debug stuff, and writes the output to zipped file. treetrim.console c:\my\tree -workingcopy -deletefromdisk -zip -email This makes a working copy, removes the debug stuff, zips it up in a temporary file, and emails it. The order of the tasks on the command line dictates the order in which the items are run. workingcopy is a task - it makes a working copy. zip is a task - it compresses the output of the previous task. The output from one task is the input to the next task. In the example above, it went:
Please also take a look at Tree Trim discussion group. |