xcoder 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/xcode/configuration.rb +12 -0
- data/lib/xcode/version.rb +1 -1
- metadata +6 -6
data/lib/xcode/configuration.rb
CHANGED
@@ -51,6 +51,16 @@ module Xcode
|
|
51
51
|
execute(cmd)
|
52
52
|
end
|
53
53
|
|
54
|
+
def clean
|
55
|
+
cmd = []
|
56
|
+
cmd << "xcodebuild"
|
57
|
+
# cmd << "-sdk #{@target.project.sdk}" unless @target.project.sdk.nil?
|
58
|
+
cmd << "-project \"#{@target.project.path}\""
|
59
|
+
cmd << "-target \"#{@target.name}\""
|
60
|
+
cmd << "-configuration \"#{name}\""
|
61
|
+
cmd << "clean"
|
62
|
+
execute(cmd)
|
63
|
+
end
|
54
64
|
|
55
65
|
def sign(identity)
|
56
66
|
cmd = []
|
@@ -106,6 +116,8 @@ module Xcode
|
|
106
116
|
out << line
|
107
117
|
end
|
108
118
|
end
|
119
|
+
#Process.wait
|
120
|
+
raise "Error (#{$?.exitstatus}) executing '#{cmd}'\n\n #{out.join(" ")}" if $?.exitstatus>0
|
109
121
|
#puts "RETURN: #{out.inspect}"
|
110
122
|
out
|
111
123
|
end
|
data/lib/xcode/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcoder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-10-06 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
16
|
-
requirement: &
|
16
|
+
requirement: &70345538601000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70345538601000
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: plist
|
27
|
-
requirement: &
|
27
|
+
requirement: &70345538600580 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70345538600580
|
36
36
|
description: Provides a ruby based object-model for parsing project structures and
|
37
37
|
invoking builds
|
38
38
|
email:
|