Sha256: 5fabfd766c2f3ea4ec13dd00b8f6bfb24d1614248f739243e9bb890025722cbd

Contents?: true

Size: 724 Bytes

Versions: 3

Compression:

Stored size: 724 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require_relative "../lib/decidim/gem_manager"

RSpec::Core::RakeTask.new(:spec)

task default: :spec

desc "Installs all gems locally."
task :install_all do
  Decidim::GemManager.run_all(
    "gem build %name && mv %name-%version.gem ..",
    include_root: false
  )

  Decidim::GemManager.new(File.expand_path("..", __dir__)).run(
    "gem build %name && gem install *.gem"
  )
end

desc "Uninstalls all gems locally."
task :uninstall_all do
  Decidim::GemManager.run_all(
    "gem uninstall %name -v %version --executables --force"
  )

  Decidim::GemManager.new(File.expand_path("..", __dir__)).run(
    "rm decidim-*.gem"
  )
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-generators-0.11.2 Rakefile
decidim-generators-0.11.1 Rakefile
decidim-generators-0.11.0.pre1 Rakefile