Commit Graph

12 Commits

Author SHA1 Message Date
Cameron Cordes c371dd1edd Use is_empty instead of length > 0
Core Repos/Rack/pipeline/head This commit looks good
Core Repos/Rack/pipeline/pr-master This commit looks good
2020-06-17 14:34:41 -04:00
cameron ccb44532a0 Jenkins CI Setup (#1)
Core Repos/Rack/pipeline/head There was a failure building this commit
Fail on lint warnings

Install clippy in setup

Create initial Jenkinsfile

Co-authored-by: Cameron Cordes <cameronc.dev@gmail.com>
Reviewed-on: #1
2020-06-17 18:19:38 +00:00
Cameron Cordes d4572f2aa9 Add usage README 2020-06-16 20:32:05 -04:00
Cameron Cordes 276db68727 Fix lint issues 2020-05-22 16:17:03 -04:00
Cameron Cordes a403dbda76 Omit files and print only match options added
These are essential for using the tool for scripting purposes.
2020-05-20 17:54:46 -04:00
Cameron Cordes 1229c05d8d Add basic gitignore functionality
No support for wildcards and exact matches might screw up nested
directories. The Globbing functionality seems like its going to be a
pain to properly match up.
2020-05-20 17:36:30 -04:00
Cameron Cordes ee3e61b76d Extract most shared logic into SimplePrinter
This should hopefully allow for more command line options, like no
color, omitting line number and file names for better scriptability.
2020-05-19 23:23:15 -04:00
Cameron Cordes 263dad91da Organize code into separate files 2020-05-19 22:44:26 -04:00
Cameron Cordes 0daa2f4149 Ignore case and allowing the user to specify a path
Also ran rustfmt over the code.
2020-05-19 18:20:48 -04:00
Cameron Cordes 0dc8383d2e Fix massive memory allocation issue
Not exactly sure what was going on, other than cloning of the FileMatch
with its results, since it is recursive I believe this blew up the
stack/heap with unnecessary allocations. By using an iterator and filter
this seemed to greatly reduce memory use and improve speed.
2020-05-19 18:19:18 -04:00
Cameron Cordes e1aa96dd78 Match highlighting and better colors in report 2020-05-19 15:17:09 -04:00
Cameron Cordes b73e4d38f1 Initial commit
Still getting Config and argument parsing setup.
2020-04-26 23:18:40 -04:00