class Yorobot::Tool
Public Class Methods
main( args=ARGV )
click to toggle source
# File lib/yorobot.rb, line 93 def self.main( args=ARGV ) ## setup/check mono root puts "[flow] pwd: #{Dir.pwd}" ## quick hack: ## if /sites does not exists ## assume running with GitHub Actions or such ## and use working dir as root? or change to home dir ~/ or ~/mono - why? why not? ## ## in the future use some -e/-env(ironemt) settings and scripts - why? why not? if Dir.exist?( 'C:/Sites' ) Mono.root = 'C:/Sites' ## use local (dev) setup for testing flow steps puts "[flow] assume local (dev) setup for testing" else Mono.root = Dir.pwd ## for debugging print / walk mono (source) tree Mono.walk end puts "[flow] Mono.root: #{Mono.root}" ## pass along to "standard" flow engine ::Flow::Tool.main( args ) end