diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-04-30 03:03:10 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-04-30 03:03:10 -0600 |
| commit | 07fafcec24441e131ff45c8de3d220a58acad9dc (patch) | |
| tree | bd4e035734eb516425ad7d493ebd250438eea314 /tasks | |
| parent | e4ea846cbb4ace53f8f1f4530d791557d829323b (diff) | |
leave empty line after magic comment in tasks [skip ci]
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/bundler.rake | 1 | ||||
| -rw-r--r-- | tasks/console.rake | 1 | ||||
| -rw-r--r-- | tasks/coverage.rake | 1 | ||||
| -rw-r--r-- | tasks/cucumber.rake | 1 | ||||
| -rw-r--r-- | tasks/dependents.rake | 1 | ||||
| -rw-r--r-- | tasks/test.rake | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/tasks/bundler.rake b/tasks/bundler.rake index e8b55b9c..106eca5a 100644 --- a/tasks/bundler.rake +++ b/tasks/bundler.rake @@ -1,4 +1,5 @@ # frozen_string_literal: true + begin require 'bundler/gem_tasks' rescue LoadError diff --git a/tasks/console.rake b/tasks/console.rake index fcd6e3ce..6796137a 100644 --- a/tasks/console.rake +++ b/tasks/console.rake @@ -1,4 +1,5 @@ # frozen_string_literal: true + desc 'Open an irb session preloaded with this library' task :console do sh 'bundle console', verbose: false diff --git a/tasks/coverage.rake b/tasks/coverage.rake index 217e5a94..dba8143f 100644 --- a/tasks/coverage.rake +++ b/tasks/coverage.rake @@ -1,4 +1,5 @@ # frozen_string_literal: true + desc 'Activates coverage' task :coverage do ENV['COVERAGE'] = 'true' diff --git a/tasks/cucumber.rake b/tasks/cucumber.rake index 8237597e..0340481f 100644 --- a/tasks/cucumber.rake +++ b/tasks/cucumber.rake @@ -1,4 +1,5 @@ # frozen_string_literal: true + begin require 'cucumber/rake/task' Cucumber::Rake::Task.new :features do |t| diff --git a/tasks/dependents.rake b/tasks/dependents.rake index 719689c2..56141d98 100644 --- a/tasks/dependents.rake +++ b/tasks/dependents.rake @@ -1,4 +1,5 @@ # frozen_string_literal: true + namespace :build do desc 'Trigger builds for all dependent projects on Travis CI and Github Actions' task :dependents do diff --git a/tasks/test.rake b/tasks/test.rake index 04805289..af0c2657 100644 --- a/tasks/test.rake +++ b/tasks/test.rake @@ -1,4 +1,5 @@ # frozen_string_literal: true + def prepare_test_env # rather than hardcoding gc settings in test task, # could use https://gist.github.com/benders/788695 |
