Sha256: ff880550817f690be07b0581448b7cca414a71a101d210b32dea0633f733529a

Contents?: true

Size: 657 Bytes

Versions: 2

Compression:

Stored size: 657 Bytes

Contents

# frozen_string_literal: true

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

Bundler::GemHelper.install_tasks

# rake convert[2.7.1]
desc 'Convert semantic-ui less to sass'
task :convert, :branch do |_t, args|
  require './tasks/converter'
  branch = args[:branch]
  puts "Converting branch #{branch}"
  Converter.new(branch).process
end

begin
  require 'rspec/core/rake_task'
  ::RSpec::Core::RakeTask.new(:spec)
rescue LoadError
  return
end

begin
  require 'rubocop/rake_task'
  ::RuboCop::RakeTask.new
rescue LoadError
  return
end

task default: %i[rubocop spec]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fomantic-ui-sass-2.9.3.2 Rakefile
fomantic-ui-sass-2.9.3.1 Rakefile