Sha256: 5c1cf045a66bf244b36b4317e650eea53c38fc66631e7ce3c54bb7bf49d08899

Contents?: true

Size: 810 Bytes

Versions: 4

Compression:

Stored size: 810 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 }

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

4 entries across 4 versions & 1 rubygems

Version Path
archangel-0.0.7 Rakefile
archangel-0.0.6 Rakefile
archangel-0.0.5 Rakefile
archangel-0.0.4 Rakefile