joe_jenkins 1.0.0 → 1.0.1
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/README.md +4 -0
- data/lib/helpers/jj_xcode.rb +9 -5
- data/lib/joe_jenkins.rb +1 -1
- metadata +6 -5
data/README.md
ADDED
data/lib/helpers/jj_xcode.rb
CHANGED
@@ -74,11 +74,15 @@ class JJXcode
|
|
74
74
|
# Do an 'xcodebuild -configuration -xcconfig' with given params
|
75
75
|
# @return The path to the .app file
|
76
76
|
|
77
|
-
def doBuild(configuration="Debug",
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
77
|
+
def doBuild(configuration="Debug", target="")
|
78
|
+
config = createXCConfig()
|
79
|
+
|
80
|
+
x_call = "-configuration #{configuration} "
|
81
|
+
x_call += "-target #{target} " if(target.length > 0)
|
82
|
+
x_call += "-xcconfig #{config}"
|
83
|
+
|
84
|
+
|
85
|
+
output = doXcodeCall(x_call)
|
82
86
|
if(output.include?"BUILD SUCCEEDED")
|
83
87
|
binaryLoc = binaryLocation(configuration)
|
84
88
|
log "Build Output Here: #{binaryLoc}"
|
data/lib/joe_jenkins.rb
CHANGED
@@ -19,7 +19,7 @@ class JoeJenkins
|
|
19
19
|
@xcode.profile = config[:profile]
|
20
20
|
@xcode.signer = config[:signer]
|
21
21
|
@xcode.bundleIdentifier = config[:bundleID]
|
22
|
-
|
22
|
+
@xcode.macroFlags = config[:macros]
|
23
23
|
appOutputLocation = @xcode.doBuild(config[:configuration])
|
24
24
|
|
25
25
|
print "Write Config to #{@xcode.buildDir(@config[:configuration])+"/config.txt"}\n"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 1.0.
|
8
|
+
- 1
|
9
|
+
version: 1.0.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Joseph Ridenour
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-
|
17
|
+
date: 2012-07-05 00:00:00 -05:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|
@@ -24,12 +24,13 @@ executables: []
|
|
24
24
|
|
25
25
|
extensions: []
|
26
26
|
|
27
|
-
extra_rdoc_files:
|
28
|
-
|
27
|
+
extra_rdoc_files:
|
28
|
+
- README.md
|
29
29
|
files:
|
30
30
|
- lib/helpers/jj_debug.rb
|
31
31
|
- lib/helpers/jj_xcode.rb
|
32
32
|
- lib/joe_jenkins.rb
|
33
|
+
- README.md
|
33
34
|
has_rdoc: true
|
34
35
|
homepage: http://mercury.io
|
35
36
|
licenses: []
|