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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 580be5dddb11eca11091ffde893fccf40b0913db
4
- data.tar.gz: e43174dd09b69c60d800298cacde52cf65b159b1
3
+ metadata.gz: 0cf2d8d1b641b291bde126dfae38897f1bbb33a8
4
+ data.tar.gz: 53e74d9487c4a4154ce66cd970499b9f47cf0a57
5
5
  SHA512:
6
- metadata.gz: b915e306e9514d26f206d71d033dc00fc19c2eaf4062ce74b9521caf04228a8fe88a59b37db76da0b124609b460ba261671049696ec8771dc62eb29532d798c7
7
- data.tar.gz: 5c0c1cbf3cbbd342f8b77f6f87580d0cf262c8d83b519d8dacfef0949bbd8597499fc9ee389c707e58355df81e5e1a89015ed388d6a0664a0d29b93e65af8878
6
+ metadata.gz: 88e1961c9404bbf634504a13c4f84165cadce1a3165d96f0cafbbfc7379165348d78aae2200bf71f554cd9529c33d847df67798eaf1c9bf523103314fe120a0d
7
+ data.tar.gz: b1e849042a9e4aa012eca071c336ae0b956ec9f93aa320131ba62c4f7595238ae9011c38855189da7303806529bc36418a47162a077cebd83708938d904509ed
@@ -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
- module Yorobot
94
- Tool = ::Flow::Tool
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
 
@@ -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 = 3
9
+ PATCH = 4
10
10
  VERSION = [MAJOR,MINOR,PATCH].join('.')
11
11
 
12
12
  def self.version
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yorobot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gerald Bauer