xcake 0.5.1 → 0.5.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/xcake/configurable.rb +8 -4
- data/lib/xcake/resources/Cakefile +4 -1
- data/lib/xcake/version.rb +1 -1
- metadata +1 -2
- data/xcuserdata/jamescampbell.xcuserdatad/xcschemes/xcschememanagement.plist +0 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3b9cd3cf90299ce246e605f6e9289c1b16fdda6
|
|
4
|
+
data.tar.gz: 0d3a2e2bb61de9a9c3d70df9e79176ebd9bc4668
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f248e196864be1d32f4a7fcaea3eb9851e9c62a828287fe4d8d81b2bcfff8c8cad6fcdb965da98a898e86da8c2b7101d7a6e2bfd59a48460c18defc0ac2bba58
|
|
7
|
+
data.tar.gz: d35c7b9f40a373785e831a6cabee223e6f8061bb25318f2ada019f7e4eb2313dc64218cd9c294a3f7deeb977cd29279e83a3f6cfb8d893284b2e1401ea44fef8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
v0.5.2
|
|
2
|
+
======
|
|
3
|
+
- Updates `xcake init` for new project syntax.
|
|
4
|
+
- Adds shorthand build configuration syntax for projects which only contain one debug or release configuration.
|
|
5
|
+
|
|
1
6
|
v0.5.1
|
|
2
7
|
======
|
|
3
8
|
- Tweaks DSL so it is easier to access the project properties via the `project` method.
|
data/Gemfile.lock
CHANGED
data/lib/xcake/configurable.rb
CHANGED
|
@@ -86,7 +86,7 @@ module Xcake
|
|
|
86
86
|
#
|
|
87
87
|
# @return [Configuration] the new or existing debug configuration
|
|
88
88
|
#
|
|
89
|
-
def debug_configuration(name, &block)
|
|
89
|
+
def debug_configuration(name = nil, &block)
|
|
90
90
|
build_configuration(:debug, name, &block)
|
|
91
91
|
end
|
|
92
92
|
|
|
@@ -95,7 +95,7 @@ module Xcake
|
|
|
95
95
|
#
|
|
96
96
|
# @return [Configuration] the new or existing release configuration
|
|
97
97
|
#
|
|
98
|
-
def release_configuration(name, &block)
|
|
98
|
+
def release_configuration(name = nil, &block)
|
|
99
99
|
build_configuration(:release, name, &block)
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -103,8 +103,12 @@ module Xcake
|
|
|
103
103
|
|
|
104
104
|
def build_configuration(method, name, &block)
|
|
105
105
|
configuration_name = send("#{method}_configurations")
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
if name.nil?
|
|
107
|
+
configuration = configuration_name.first
|
|
108
|
+
else
|
|
109
|
+
configuration = configuration_name.detect do |c|
|
|
110
|
+
c.name == name.to_s
|
|
111
|
+
end
|
|
108
112
|
end
|
|
109
113
|
|
|
110
114
|
if configuration.nil?
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
# Change this to set a different Project file name
|
|
2
|
+
#project.project_name = "Project"
|
|
3
|
+
|
|
1
4
|
# Replace this with your class prefix for Objective-C files.
|
|
2
|
-
class_prefix = "APP"
|
|
5
|
+
project.class_prefix = "APP"
|
|
3
6
|
|
|
4
7
|
# By default Xcake defaults to creating the standard Debug and Release
|
|
5
8
|
# configurations, uncomment these lines to add your own.
|
data/lib/xcake/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xcake
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Campbell
|
|
@@ -218,7 +218,6 @@ files:
|
|
|
218
218
|
- lib/xcake/xcode/scheme.rb
|
|
219
219
|
- lib/xcake/xcode/scheme_list.rb
|
|
220
220
|
- xcake.gemspec
|
|
221
|
-
- xcuserdata/jamescampbell.xcuserdatad/xcschemes/xcschememanagement.plist
|
|
222
221
|
homepage: https://github.com/jcampbell05/xcake/
|
|
223
222
|
licenses:
|
|
224
223
|
- MIT
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>SchemeUserState</key>
|
|
6
|
-
<dict>
|
|
7
|
-
<key>Sup-Beta.xcscheme_^#shared#^_</key>
|
|
8
|
-
<dict>
|
|
9
|
-
<key>isShown</key>
|
|
10
|
-
<true/>
|
|
11
|
-
</dict>
|
|
12
|
-
<key>Sup-Debug.xcscheme_^#shared#^_</key>
|
|
13
|
-
<dict>
|
|
14
|
-
<key>isShown</key>
|
|
15
|
-
<true/>
|
|
16
|
-
</dict>
|
|
17
|
-
<key>Sup-Release.xcscheme_^#shared#^_</key>
|
|
18
|
-
<dict>
|
|
19
|
-
<key>isShown</key>
|
|
20
|
-
<true/>
|
|
21
|
-
</dict>
|
|
22
|
-
</dict>
|
|
23
|
-
<key>SuppressBuildableAutocreation</key>
|
|
24
|
-
<dict>
|
|
25
|
-
<key>1C5627D08EFDBB8B65806BB3</key>
|
|
26
|
-
<dict>
|
|
27
|
-
<key>primary</key>
|
|
28
|
-
<true/>
|
|
29
|
-
</dict>
|
|
30
|
-
<key>BF53B81F8B27AD76D19D9271</key>
|
|
31
|
-
<dict>
|
|
32
|
-
<key>primary</key>
|
|
33
|
-
<true/>
|
|
34
|
-
</dict>
|
|
35
|
-
</dict>
|
|
36
|
-
</dict>
|
|
37
|
-
</plist>
|