Refactored & Added a Script to be Run Locally for a Project#15
Conversation
|
Updated with optional named args and support for a config file. All args are optional in either the command line or config file. Command line args take priority over the config file args. If The config file can exist in either the current working directory or in the home directory. Current working directory takes priority over the home directory. Example usage: cd ~/ci-development
tclsh ~/ci-development/scripts/linting.tcl -line_length 100 -file_length 500 -proc_length 80 -tcl_dir tcl -test_dir tests
tclsh ~/ci-development/scripts/linting.tclExample config files: |
|
Example output: |
|
I've updated the Makefile so that a Tcl package called I've tested the Makefile in a limited capacity on my dev box by running some of the shell commands. A full test of the Makefile will only be possible once the linting script is in the master branch and a release has been created. |
|
Counts have been removed from the report procs. Testing
Unit Tests |
Testing
Unit Tests |
Testing