summaryrefslogtreecommitdiff
path: root/lib/tasks/gitlab/snowplow.rake
blob: 278ba4a471c481ce28d376a02255881d2b6a8be9 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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