Method: Gct::Command::Robot::Podfile#run
- Defined in:
- lib/gct/command/robot/podfile.rb
#run ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/gct/command/robot/podfile.rb', line 30 def run db = Database::Data.new sql = "select * from project where is_done = 1 order by create_time DESC limit 1" res = db.query(sql) = "<font color=\"info\">podfile 更新完毕</font>" if !res.nil? && res.count > 0 res.each do |row| branch = row["branch"] = "<font color=\"info\">#{branch} podfile 更新完毕</font>" end end content = "#{}" robot_send(content) end |