mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
统计提交数rake
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace :total_commit_count do
|
||||
desc "total_commit_count"
|
||||
task git_demo_raw: :environment do
|
||||
task done: :environment do
|
||||
project_name = ENV['name'] || "mindspore"
|
||||
puts "project_id=================#{project_name}"
|
||||
projects = Project.where("name like ?", "%#{project_name}%")
|
||||
|
||||
Reference in New Issue
Block a user