joe_jenkins 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ joe_jenkins
2
+ ===========
3
+
4
+ RubyGem wrapper for Xcode building actions
@@ -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", config="")
78
- if(config == "")
79
- config = createXCConfig()
80
- end
81
- output = doXcodeCall("-configuration #{configuration}"+(config.length>0 ? " -xcconfig #{config}" : ""))
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
- - 0
9
- version: 1.0.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-06-22 00:00:00 -05:00
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: []