Sha256: a9abf235db4ff9144ce39a9be9735fd24d62cb5fd52100f29e0cc782e1581598

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 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

require "bundler/gem_tasks"
require "rspec/core/rake_task"

require "archangel/testing_support/rake/dummy_rake"

RSpec::Core::RakeTask.new

task default: :spec

desc "Generates a dummy app for testing"
task :dummy_app do
  # ENV["DB"] = "sqlite3" # Options: mysql, postgresql, sqlite3
  ENV["LIB_NAME"] = "<%= extension_name %>"

  Rake::Task["dummy:generate"].invoke
end

desc "Run RSpec tests"
task test: :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archangel-0.4.0 lib/archangel/commands/templates/common/Rakefile