Sha256: 4378c11dd692bae194f03e4ae07ff014e989240fd1d0dc63bd94826bcaa33827

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 Bytes

Contents

namespace :repo_analyzer  do
  desc "Extract repo info and post to defined endpoint"
  task :analyze, [:repo_name, :project_path] => :environment do |_t, args|
    project_info = RepoAnalyzer::ExtractProjectInfoJob.perform_now(
      args.repo_name, args.project_path
    )
    RepoAnalyzer::PostExtractedInfoJob.perform_now(args.repo_name, project_info)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
repo_analyzer-1.6.0 lib/tasks/repo_analyzer_tasks.rake
repo_analyzer-1.5.0 lib/tasks/repo_analyzer_tasks.rake