Skip to content

Instantly share code, notes, and snippets.

@beaugaines
Created December 22, 2017 20:54
Show Gist options
  • Save beaugaines/80dac6adf799878a74f546516a680eae to your computer and use it in GitHub Desktop.
Save beaugaines/80dac6adf799878a74f546516a680eae to your computer and use it in GitHub Desktop.
report = 'code_report_' + Time.now.strftime('%Y-%m-%d')
`rubocop app spec lib config --format simple --out #{report}.txt`
`echo "\n\n\nCANE REPORT\n\n-----------" >> #{report}.txt`
`cane >> #{report}.txt`
`echo "\n\n\nSANDI METER REPORT\n\n-----------" >> #{report}.txt`
`sandi_meter -d >> #{report}.txt`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment