gct 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gct/command/build/r.rb +6 -7
- data/lib/gct/version.rb +1 -1
- metadata +27 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0feb03c5e5613155c2ff035d5d87092d2917c53bad43507292e54b822597a292
|
4
|
+
data.tar.gz: 75d07c463c9c442ee14e1ec62c56c7fd4929232ff2dbae62ead4ba9d89b92c0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90c1b6647e67e4e6bf13346feaa4b43e73bd0003348b176b1139547b533d061bbc7ebbf7b53dedf76a87362f3427d029c29b6e4357f39e2bffff2500cfb34369
|
7
|
+
data.tar.gz: c419a6deb353b3dc1b331eca96ccf64f2310dffe5e7e560e8b193d6285e67f049c6400ce6fd68c36ac444750a9fb90b1f3ecd4c794c6b239290fc923e404d860
|
data/lib/gct/command/build/r.rb
CHANGED
@@ -5,11 +5,10 @@ module Gct
|
|
5
5
|
|
6
6
|
self.summary = '运行R脚本'
|
7
7
|
self.description = <<-DESC
|
8
|
-
|
8
|
+
查找名为'[GCT] create R'的run script脚本,并运行.
|
9
9
|
DESC
|
10
10
|
|
11
|
-
self.arguments = [
|
12
|
-
]
|
11
|
+
self.arguments = []
|
13
12
|
|
14
13
|
def initialize(argv)
|
15
14
|
super
|
@@ -25,16 +24,16 @@ module Gct
|
|
25
24
|
|
26
25
|
def buildR
|
27
26
|
proj = ''
|
28
|
-
Dir.entries(Dir.pwd).each do |
|
29
|
-
if
|
30
|
-
proj =
|
27
|
+
Dir.entries(Dir.pwd).each do |subfile|
|
28
|
+
if subfile.include? '.xcodeproj'
|
29
|
+
proj = subfile
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
34
33
|
if proj == ''
|
35
34
|
puts '没有找到.xcodeproj文件'.red
|
36
35
|
else
|
37
|
-
project_path = File.join(
|
36
|
+
project_path = File.join(Dir.pwd, "./" + proj)
|
38
37
|
project = Xcodeproj::Project.open(project_path)
|
39
38
|
|
40
39
|
objects = project.objects
|
data/lib/gct/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jieming
|
@@ -14,28 +14,28 @@ dependencies:
|
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
@@ -100,6 +100,26 @@ dependencies:
|
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
102
|
version: 1.8.4
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: xcodeproj
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: 1.14.0
|
110
|
+
- - "<"
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '2.0'
|
113
|
+
type: :runtime
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: 1.14.0
|
120
|
+
- - "<"
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '2.0'
|
103
123
|
description: '"gct ios 自动化脚本工具"'
|
104
124
|
email:
|
105
125
|
- 307113345@qq.com
|