Sha256: 03eb45f632e79bfaabe942c48bf3b9bfa70446643fadebdb2920395e877fd7e7
Contents?: true
Size: 494 Bytes
Versions: 26
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true namespace :static do task :dump do ENV["RAILS_ENV"] = "test" require File.expand_path("./../../demo/config/environment.rb", __dir__) require "primer/view_components" # Loads all components for `.descendants` to work properly Dir["./app/components/primer/**/*.rb"].sort.each { |file| require file } Primer::ViewComponents.dump(:statuses) Primer::ViewComponents.dump(:constants) Primer::ViewComponents.dump(:audited_at) end end
Version data entries
26 entries across 26 versions & 1 rubygems