Simple script that, through this gem (currently the branch feature/spaces-handling
),
allows you to tokenize the json results of the tool clarity
-
make sure you have ruby installed
-
run
gem install code-lexer
-
clone the project code-lexer
-
go to
~/.local/share/gem/ruby/3.0.0/gems
and replace the folderlib
with the folderlib
which is found in the projectcode-lexer
just cloned (make sure you are in the branchfeature/spaces-handling
, otherwise you will encounter errors)
Run ruby lex.rb clarity_results_path