You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to have a command option like --output-file [file-name].
The issue I have is that I need to run Tailor in Travis CI, generating a report file in JSON format, and then parsing it in order to get a code quality metric for my project.
The way I found to do this is: tailor [project-dir] -f json > [file-name], but Travis adds some more information from the command output to my JSON file:
The command bundle exec tailor [project-dir] -f json exited with 0.
Log:
{
"files": [
...
So when I try to parse my JSON file it fails.
I think there should be a cleaner way, like my example, to get an output file in which is not necessary to use >.
The text was updated successfully, but these errors were encountered:
I have the same need but with jenkins and HTML format. I would like to have this "output-file" feature in my .tailor.yml file.
Thanks and great work BTW.
I'd like to have a command option like
--output-file [file-name]
.The issue I have is that I need to run Tailor in Travis CI, generating a report file in JSON format, and then parsing it in order to get a code quality metric for my project.
The way I found to do this is:
tailor [project-dir] -f json > [file-name]
, but Travis adds some more information from the command output to my JSON file:So when I try to parse my JSON file it fails.
I think there should be a cleaner way, like my example, to get an output file in which is not necessary to use
>
.The text was updated successfully, but these errors were encountered: