Sha256: f209e69f9f5ed340b044410ca89d67a4ecd97969466a1499fd92d3dcf3773b28

Contents?: true

Size: 508 Bytes

Versions: 6

Compression:

Stored size: 508 Bytes

Contents

# desc "Explaining what the task does"
# task :tang do
#   # Task goes here
# end

task :rails_best_practices do
  path = File.expand_path("../../../", __FILE__)
  sh "rails_best_practices #{path}"
end

task :brakeman do
  sh "brakeman -q -z"
end

task :check do
  Rake::Task['spec'].invoke
  Rake::Task['cucumber'].invoke
  Rake::Task['brakeman'].invoke
  Rake::Task['rails_best_practices'].invoke
end

namespace :tang do
  task import_stripe: :environment do
    Tang::ImportStripeJob.perform_now
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tang-0.2.2 lib/tasks/tang_tasks.rake
tang-0.2.1 lib/tasks/tang_tasks.rake
tang-0.2.0 lib/tasks/tang_tasks.rake
tang-0.1.0 lib/tasks/tang_tasks.rake
tang-0.0.9 lib/tasks/tang_tasks.rake
tang-0.0.8 lib/tasks/tang_tasks.rake