Sha256: 9aad4e5591c529feb5fce0580f89922517ae7e75a02c697b8ae6428ede27d024

Contents?: true

Size: 844 Bytes

Versions: 1

Compression:

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

Dir.glob("./lib/tasks/**/*_task.rake").each { |task| load task }

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 Archangel"
task :dummy_app do
  ENV["LIB_NAME"] = "archangel"

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

desc "Remove any generated files and directories"
task :clean do
  %w[
    brakeman.html Gemfile.lock spec/examples.txt yarn.lock
  ].each { |file| rm_f file }

  %w[
    .yardoc coverage doc pkg archangel_* node_modules pkg spec/dummy
  ].each { |directory| rm_rf directory }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
archangel-0.0.3 Rakefile