From 8f0c4afdf4444052a49889154ff0f0eca0076f4e Mon Sep 17 00:00:00 2001 From: Daniel Colson Date: Fri, 5 Jun 2020 15:19:59 -0400 Subject: [PATCH] Run standard on CI To ensure we run standard before merging any PR, this commit adds standard to Travis CI (we have [travis configured to run the default rake task][travis config]). [travis config]: https://github.com/thoughtbot/factory_bot/blob/4303e7d0d7db0dacfda57078470e32ec49a529f5/.travis.yml#L12 --- Rakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index f61ce58..98ec1f9 100644 --- a/Rakefile +++ b/Rakefile @@ -4,11 +4,12 @@ require "rake" require "yard" require "rspec/core/rake_task" require "cucumber/rake/task" +require "standard/rake" Bundler::GemHelper.install_tasks(name: "factory_bot") -desc "Default: run the specs and features." -task default: %w[spec:unit spec:acceptance features] +desc "Default: run the specs, features, and standard ." +task default: %w[spec:unit spec:acceptance features standard] namespace :spec do desc "Run unit specs"