aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wilmott <p@p8952.info>2015-06-17 13:17:30 +0100
committerPeter Wilmott <p@p8952.info>2015-06-17 13:17:30 +0100
commit3b7a574b6c33b49bd9a84e67b3a0b9d08b7cef1b (patch)
treef7d01ee8c87225302afaac9fd1f4c177f745eeb8
parent#13 : Run update packages from inside a container (diff)
downloadruby-tinderbox-3b7a574b6c33b49bd9a84e67b3a0b9d08b7cef1b.tar.gz
ruby-tinderbox-3b7a574b6c33b49bd9a84e67b3a0b9d08b7cef1b.tar.bz2
ruby-tinderbox-3b7a574b6c33b49bd9a84e67b3a0b9d08b7cef1b.zip
Make running linters part of running the test suite
-rw-r--r--web/Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/Rakefile b/web/Rakefile
index 47dd524..6e28fb7 100644
--- a/web/Rakefile
+++ b/web/Rakefile
@@ -4,6 +4,8 @@ task default: 'test'
desc 'Run the test suite'
task :test do
+ sh 'bundle exec rubocop'
+ sh "shellcheck #{Dir.glob('../**/*.sh').join(' ')}"
Dir.glob('./test/test_*.rb') { |f| require f }
end