Sha256: cec3ac55c007d3830e1a78d3815c56af99cf79723f2acc68dfc5b84ae33a95c7

Contents?: true

Size: 275 Bytes

Versions: 14

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true
desc 'Run the styleguide on :port (defaults to 3999).'
task :styleguide, %i(port) do |_, args|
  FileUtils.cd(UiComponents::Engine.root.join('spec', 'dummy')) do
    port = args[:port] || 3999
    exec "bundle exec rails s -p #{port}"
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ad2games-ui_components-2.1.0 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.14 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.12 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.11 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.10 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.9 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.8 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.7 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.5 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.4 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.3 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.2 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.1 lib/tasks/styleguide.rake
ad2games-ui_components-2.0.0 lib/tasks/styleguide.rake