yorobot 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yorobot.rb +27 -2
- data/lib/yorobot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cf2d8d1b641b291bde126dfae38897f1bbb33a8
|
4
|
+
data.tar.gz: 53e74d9487c4a4154ce66cd970499b9f47cf0a57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88e1961c9404bbf634504a13c4f84165cadce1a3165d96f0cafbbfc7379165348d78aae2200bf71f554cd9529c33d847df67798eaf1c9bf523103314fe120a0d
|
7
|
+
data.tar.gz: b1e849042a9e4aa012eca071c336ae0b956ec9f93aa320131ba62c4f7595238ae9011c38855189da7303806529bc36418a47162a077cebd83708938d904509ed
|
data/lib/yorobot.rb
CHANGED
@@ -88,10 +88,35 @@ end # module Flow
|
|
88
88
|
|
89
89
|
|
90
90
|
|
91
|
+
module Yorobot
|
92
|
+
def self.main( args=ARGV )
|
91
93
|
|
94
|
+
## setup/check mono root
|
95
|
+
puts "[flow] pwd: #{Dir.pwd}"
|
92
96
|
|
93
|
-
|
94
|
-
|
97
|
+
|
98
|
+
## quick hack:
|
99
|
+
## if /sites does not exists
|
100
|
+
## assume running with GitHub Actions or such
|
101
|
+
## and use working dir as root? or change to home dir ~/ or ~/mono - why? why not?
|
102
|
+
##
|
103
|
+
## in the future use some -e/-env(ironemt) settings and scripts - why? why not?
|
104
|
+
if Dir.exist?( 'C:/Sites' )
|
105
|
+
Mono.root = 'C:/Sites' ## use local (dev) setup for testing flow steps
|
106
|
+
|
107
|
+
puts "[flow] assume local (dev) setup for testing"
|
108
|
+
else
|
109
|
+
Mono.root = Dir.pwd
|
110
|
+
|
111
|
+
## for debugging print / walk mono (source) tree
|
112
|
+
Mono.walk
|
113
|
+
end
|
114
|
+
puts "[flow] Mono.root: #{Mono.root}"
|
115
|
+
|
116
|
+
|
117
|
+
## pass along to "standard" flow engine
|
118
|
+
::Flow::Tool.main( args )
|
119
|
+
end
|
95
120
|
end # module Yorobot
|
96
121
|
|
97
122
|
|
data/lib/yorobot/version.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
module YorobotCore ## todo/check: rename GittiBase or GittiMeta or such - why? why not?
|
7
7
|
MAJOR = 1 ## todo: namespace inside version or something - why? why not??
|
8
8
|
MINOR = 0
|
9
|
-
PATCH =
|
9
|
+
PATCH = 4
|
10
10
|
VERSION = [MAJOR,MINOR,PATCH].join('.')
|
11
11
|
|
12
12
|
def self.version
|