diff options
author | Anatoli Babenia <anatoli@rainforce.org> | 2022-10-09 15:54:35 +0300 |
---|---|---|
committer | Anatoli Babenia <anatoli@rainforce.org> | 2022-10-21 00:32:43 +0300 |
commit | b27703d90c456ec86272ca48ba7233da76343269 (patch) | |
tree | 3a3b415a0e0b9b89c871deacd17682d28e6fcfce /lib | |
parent | 7a4ec3e64a89964b4cc9df91ad831e7a7f8dd090 (diff) |
Late import `highline` to avoid crash on `rake -T`
It was like that before
https://gitlab.com/gitlab-org/gitlab-docs/-/commit/2d0daaaa361cc224e2c4676929d839cdf861865a
Allows to list and run tasks without installing all dependencies.
Could speed up testing jobs.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/release.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/release.rake b/lib/tasks/release.rake index 7e400000..2d136f2e 100644 --- a/lib/tasks/release.rake +++ b/lib/tasks/release.rake @@ -2,13 +2,13 @@ require './lib/tasks/task_helpers' require 'fileutils' -require "highline/import" task_helpers = TaskHelpers.new namespace :release do desc 'Creates a single release archive' task :single, :version do |t, args| + require "highline/import" version = args.version.to_s # Disable lefthook because it was causing some PATH errors |