Sha256: 74c4a70c336d3873c477e205466eae2c66019057c6fcfa9d54dc0a20acd245dc
Contents?: true
Size: 658 Bytes
Versions: 4
Compression:
Stored size: 658 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-axlsx-2.1.2 | Rakefile |
activeadmin-axlsx-2.1.1 | Rakefile |
activeadmin-axlsx-2.0.1 | Rakefile |
activeadmin-axlsx-2.0.0 | Rakefile |