debian-mirror-gitlab/lib/tasks/gitlab/snowplow.rake
2021-06-08 01:23:25 +05:30

11 lines
320 B
Ruby

# frozen_string_literal: true
namespace :gitlab do
namespace :snowplow do
desc 'GitLab | Snowplow | Generate event dictionary'
task generate_event_dictionary: :environment do
items = Gitlab::Tracking::EventDefinition.definitions
Gitlab::Tracking::Docs::Renderer.new(items).write
end
end
end