Sha256: fccf5fc3f5ea89acf21f44087cb9b12da90cb35a2b13aa4ab87b7977641ce988

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

#!/usr/bin/env rake
require "activeadmin"
require "rspec/core/rake_task"

desc "Creates a test rails app for the specs to run against"
task :setup do
  require 'rails/version'
  system("mkdir spec/rails") unless File.exists?("spec/rails")
  system "bundle exec rails new spec/rails/rails-#{Rails::VERSION::STRING} -m spec/support/rails_template_with_data.rb"
end

RSpec::Core::RakeTask.new
task :default => :spec
task :test => :spec

desc "build the gem"
task :build do
  system "gem build activeadmin-axlsx.gemspec"
end
desc "build and release the gem"
task :release => :build do
  system "gem push activeadmin-axlsx-#{ActiveAdmin::Axlsx::VERSION}.gem"
end
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-axlsx-1.0.0 Rakefile
activeadmin-axlsx-1.0.0a Rakefile