xcake 0.4.8 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +4 -0
- data/Gemfile.lock +4 -4
- data/README.md +11 -18
- data/bin/console +2 -5
- data/docs/Cakefile.md +85 -59
- data/docs/Getting Started.md +13 -37
- data/docs/Xcode Project Support.md +1 -1
- data/lib/xcake/command/bake.rb +28 -0
- data/lib/xcake/command/init.rb +16 -0
- data/lib/xcake/command.rb +5 -18
- data/lib/xcake/resources/Cakefile +53 -0
- data/lib/xcake/version.rb +1 -1
- data/lib/xcake.rb +2 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e509a8efed67d3155d1db47740e1631b5fb7a73c
|
4
|
+
data.tar.gz: 5f0702df8872b852cb4ec92d249705bc80a4f20c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 094e5c504279977e1b462baa2c04c0b0d8009a3a6610b7066958c3d2cffc5802d8aef04e3e1c1557f0c4b0bf82b630cb317d7287ebc0445d6816478e4e6942c5
|
7
|
+
data.tar.gz: eaa90c7b973f4e12d28ceed589ece3a99a72166a4608a15c864a529267d6e6caba416f2bdea6ff761c8dbfbfff977d193772d1fcc83827b84f0ed9a8036bf729
|
data/.yardopts
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
xcake (0.
|
4
|
+
xcake (0.5.0)
|
5
5
|
claide (~> 0.9.1)
|
6
6
|
hooks (~> 0.4.1)
|
7
7
|
tty (~> 0.3.2)
|
@@ -42,9 +42,9 @@ GEM
|
|
42
42
|
minitest (5.8.3)
|
43
43
|
necromancer (0.3.0)
|
44
44
|
netrc (0.11.0)
|
45
|
-
pastel (0.5.
|
46
|
-
equatable (~> 0.5)
|
47
|
-
tty-screen (~> 0.4)
|
45
|
+
pastel (0.5.3)
|
46
|
+
equatable (~> 0.5.0)
|
47
|
+
tty-screen (~> 0.4.3)
|
48
48
|
pry (0.10.3)
|
49
49
|
coderay (~> 1.1.0)
|
50
50
|
method_source (~> 0.8.1)
|
data/README.md
CHANGED
@@ -23,7 +23,6 @@ Get in contact with the developer on Twitter: [@jcampbell_05](https://twitter.co
|
|
23
23
|
<a href="#features">Features</a> •
|
24
24
|
<a href="#installation">Installation</a> •
|
25
25
|
<a href="#need-help">Need help?</a> •
|
26
|
-
<a href="#roadmap">Roadmap</a> •
|
27
26
|
<a href="http://www.rubydoc.info/gems/xcake/file/docs/Getting%20Started.md">Documentation</a>
|
28
27
|
</p>
|
29
28
|
|
@@ -38,24 +37,22 @@ Store a simple description of your project in a text file, your `Cakefile`, to e
|
|
38
37
|
You define a project like this:
|
39
38
|
|
40
39
|
```ruby
|
41
|
-
|
42
|
-
|
43
|
-
t.name = "MyApp"
|
44
|
-
end
|
40
|
+
application_for :ios, 8.0 do |target|
|
41
|
+
target.name = "MyApp"
|
45
42
|
end
|
46
43
|
```
|
47
44
|
|
48
45
|
To generate the xcode project, just run:
|
49
46
|
|
50
47
|
```sh
|
51
|
-
xcake
|
48
|
+
xcake bake
|
52
49
|
```
|
53
50
|
|
54
51
|
| xcake
|
55
52
|
--------------------------|------------------------------------------------------------
|
56
53
|
:sparkles: | Flexibly configure and create xcode project from one easy to read `Cakefile`
|
57
54
|
:ship: | Generate from any computer, including a CI-server
|
58
|
-
:thought_balloon: | Never remember any difficult commands, just `xcake`
|
55
|
+
:thought_balloon: | Never remember any difficult commands, just `xcake bake`
|
59
56
|
:page_with_curl: | Store **everything** but the project in git. Never again manually fix any corruptions or merge issues with the project.
|
60
57
|
:rocket: | Saves you **hours** when working with xcode projects
|
61
58
|
:anchor: | Confidence that the project file is exactly the same during Continuous Delivery
|
@@ -81,22 +78,18 @@ System Requirements: `xcake` requires Mac OS X or Linux with Ruby 2.0.0 or above
|
|
81
78
|
|
82
79
|
## Available commands
|
83
80
|
|
84
|
-
|
85
|
-
|
86
|
-
xcake
|
87
|
-
|
88
|
-
## Need help?
|
89
|
-
Please submit an issue on GitHub and provide information about your setup
|
81
|
+
Xcake can create an example cakefile when you run:
|
90
82
|
|
91
|
-
|
83
|
+
xcake init
|
92
84
|
|
93
|
-
|
85
|
+
Usually you'll use xcake by running the command
|
94
86
|
|
95
|
-
|
87
|
+
xcake bake
|
96
88
|
|
97
|
-
|
89
|
+
Xcake will then generate a Xcode project based on your Cakefile
|
98
90
|
|
99
|
-
|
91
|
+
## Need help?
|
92
|
+
Please submit an issue on GitHub and provide information about your setup
|
100
93
|
|
101
94
|
## License
|
102
95
|
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
data/bin/console
CHANGED
data/docs/Cakefile.md
CHANGED
@@ -4,29 +4,24 @@ The `Cakefile` contains a lightweight DSL which provides the instructions on how
|
|
4
4
|
a project file. We adopt the convention over configuration and thus it can be very simple:
|
5
5
|
|
6
6
|
```ruby
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
end
|
11
|
-
end
|
7
|
+
application_for :ios, 8.0 do |target|
|
8
|
+
target.name = "MyApp"
|
9
|
+
end
|
12
10
|
```
|
13
11
|
|
14
12
|
and here is much more complicated one:
|
15
13
|
|
16
14
|
```ruby
|
17
|
-
|
15
|
+
debug_configuration :staging
|
16
|
+
debug_configuration :debug
|
17
|
+
release_configuration :release
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
application_for :ios, 8.0 do |target|
|
20
|
+
target.name = "test"
|
21
|
+
target.all_configurations.supported_devices = :iphone_only
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
target.all_configurations.supported_devices = :iphone_only
|
26
|
-
|
27
|
-
project.unit_tests_for(target)
|
28
|
-
end
|
29
|
-
end
|
23
|
+
unit_tests_for target
|
24
|
+
end
|
30
25
|
```
|
31
26
|
|
32
27
|
As you can see, it is super easy to read; The goal of Xcake is to keep everything
|
@@ -34,27 +29,8 @@ readable, efficient and concise.
|
|
34
29
|
|
35
30
|
## Project
|
36
31
|
|
37
|
-
|
38
|
-
|
39
|
-
```ruby
|
40
|
-
Project.new do |project|
|
41
|
-
end
|
42
|
-
```
|
43
|
-
By default Xcake will create a project named "Project" but we can change the name
|
44
|
-
by passing a String argument with the name we would like it to be called:
|
45
|
-
|
46
|
-
```ruby
|
47
|
-
Project.new "Workspace" do |project|
|
48
|
-
end
|
49
|
-
```
|
50
|
-
We can also customize the structure of the project between the first and second lines, like so:
|
51
|
-
|
52
|
-
```ruby
|
53
|
-
Project.new "Workspace" do |project|
|
54
|
-
project.debug_configuration :debug
|
55
|
-
end
|
56
|
-
```
|
57
|
-
There are two main ways you can customize a Project, Targets and Configurations.
|
32
|
+
A project is automatically created from a `Cakefile` below is all of the ways
|
33
|
+
you can customize this project.
|
58
34
|
|
59
35
|
###Properties
|
60
36
|
|
@@ -63,7 +39,7 @@ There are two main ways you can customize a Project, Targets and Configurations.
|
|
63
39
|
Sets the class prefix for the project
|
64
40
|
|
65
41
|
```ruby
|
66
|
-
|
42
|
+
class_prefix = "XC"
|
67
43
|
```
|
68
44
|
|
69
45
|
#### Organization
|
@@ -71,7 +47,7 @@ project.class_prefix = "XC"
|
|
71
47
|
Sets the organization for the project.
|
72
48
|
|
73
49
|
```ruby
|
74
|
-
|
50
|
+
organization = "Xcake Productions"
|
75
51
|
```
|
76
52
|
|
77
53
|
## Targets
|
@@ -87,17 +63,13 @@ A project can specify any application targets such as iOS or Mac Apps.
|
|
87
63
|
iOS App:
|
88
64
|
|
89
65
|
```ruby
|
90
|
-
|
91
|
-
project.application_for :ios, 8.0
|
92
|
-
end
|
66
|
+
application_for :ios, 8.0
|
93
67
|
```
|
94
68
|
|
95
69
|
Mac App:
|
96
70
|
|
97
71
|
```ruby
|
98
|
-
|
99
|
-
project.application_for :mac, 8.0
|
100
|
-
end
|
72
|
+
application_for :mac, 8.0
|
101
73
|
```
|
102
74
|
|
103
75
|
###Tests
|
@@ -105,10 +77,8 @@ end
|
|
105
77
|
We can also specify a testing targets for other targets as well:
|
106
78
|
|
107
79
|
```ruby
|
108
|
-
|
109
|
-
|
110
|
-
project.unit_tests_for(target)
|
111
|
-
end
|
80
|
+
application_for :mac, 8.0 do |target|
|
81
|
+
unit_tests_for target
|
112
82
|
end
|
113
83
|
```
|
114
84
|
|
@@ -117,10 +87,8 @@ end
|
|
117
87
|
To create watch applications we can simply use the `watch_app_for` method:
|
118
88
|
|
119
89
|
```ruby
|
120
|
-
|
121
|
-
|
122
|
-
project.watch_app_for target, 2.0
|
123
|
-
end
|
90
|
+
application_for :mac, 8.0 do |target|
|
91
|
+
watch_app_for target, 2.0
|
124
92
|
end
|
125
93
|
```
|
126
94
|
|
@@ -130,10 +98,8 @@ If these aren't enough for you then you can specify a target
|
|
130
98
|
and manually set up it's properties.
|
131
99
|
|
132
100
|
```ruby
|
133
|
-
|
134
|
-
project.target do |target|
|
101
|
+
target do |target|
|
135
102
|
target.name = "Target"
|
136
|
-
end
|
137
103
|
end
|
138
104
|
```
|
139
105
|
|
@@ -180,6 +146,32 @@ Sets the primary language of the target, can be `:objc` or `:swift`.
|
|
180
146
|
target.language = :swift
|
181
147
|
```
|
182
148
|
|
149
|
+
#### Include Files
|
150
|
+
|
151
|
+
Sets the files to be included for a target, files and groups will be added
|
152
|
+
to the project to match the file system.
|
153
|
+
|
154
|
+
[See Here](https://guides.cocoapods.org/syntax/podspec.html#group_file_patterns)
|
155
|
+
for file patterns
|
156
|
+
|
157
|
+
```ruby
|
158
|
+
target.include_files = "DifferentAppFolder/*.*"
|
159
|
+
target.include_files << "OtherFolder/*.*"
|
160
|
+
```
|
161
|
+
|
162
|
+
#### Exclude Files
|
163
|
+
|
164
|
+
Sets the files to be excluded for a target, if no target uses these files they
|
165
|
+
will be excluded from the project
|
166
|
+
|
167
|
+
[See Here](https://guides.cocoapods.org/syntax/podspec.html#group_file_patterns)
|
168
|
+
for file patterns
|
169
|
+
|
170
|
+
```ruby
|
171
|
+
target.exclude_files = "FolderToIgnore/*.*"
|
172
|
+
target.exclude_files << "OtherFolderToIgnore/*.*"
|
173
|
+
```
|
174
|
+
|
183
175
|
## Configurations
|
184
176
|
|
185
177
|
Configurations are an abstraction of build settings and scheme settings. Depending
|
@@ -194,7 +186,15 @@ For configurations used for internal testing we create a debug configuration,
|
|
194
186
|
this comes with sensible defaults optimized for debugging (i.e Assertions enabled).
|
195
187
|
|
196
188
|
```ruby
|
197
|
-
|
189
|
+
debug_configuration :staging
|
190
|
+
```
|
191
|
+
|
192
|
+
We can modify settings for each configuration easily.
|
193
|
+
|
194
|
+
```ruby
|
195
|
+
debug_configuration :staging do |configuration|
|
196
|
+
configuration.settings["KEY"] = "VALUE"
|
197
|
+
end
|
198
198
|
```
|
199
199
|
|
200
200
|
### Release Configurations
|
@@ -203,7 +203,15 @@ For configurations used for release we create a release configuration,
|
|
203
203
|
this comes with sensible defaults optimized for releasing (i.e Compiler optimizations enabled).
|
204
204
|
|
205
205
|
```ruby
|
206
|
-
|
206
|
+
release_configuration :release
|
207
|
+
```
|
208
|
+
|
209
|
+
We can modify settings for each configuration easily.
|
210
|
+
|
211
|
+
```ruby
|
212
|
+
release_configuration :release do |configuration|
|
213
|
+
configuration.settings["KEY"] = "VALUE"
|
214
|
+
end
|
207
215
|
```
|
208
216
|
|
209
217
|
### All Configurations
|
@@ -212,7 +220,25 @@ We can apply a particular shared setting across all of our configurations.
|
|
212
220
|
Xcake provides a simply way of doing this via an "all" configuration.
|
213
221
|
|
214
222
|
```ruby
|
215
|
-
|
223
|
+
all_configurations.supported_devices = :iphone_only
|
224
|
+
```
|
225
|
+
|
226
|
+
### Targets
|
227
|
+
|
228
|
+
To modify settings for certain target, then its as simple as prefixing the
|
229
|
+
target we want to modify the configuration for.
|
230
|
+
|
231
|
+
```ruby
|
232
|
+
|
233
|
+
target.all_configurations.supported_devices = :iphone_only
|
234
|
+
|
235
|
+
debug_configuration :staging do |configuration|
|
236
|
+
configuration.settings["KEY"] = "VALUE"
|
237
|
+
end
|
238
|
+
|
239
|
+
target.release_configuration :release do |configuration|
|
240
|
+
configuration.settings["KEY"] = "VALUE"
|
241
|
+
end
|
216
242
|
```
|
217
243
|
|
218
244
|
### Configuration Hiearchy
|
data/docs/Getting Started.md
CHANGED
@@ -14,34 +14,18 @@ so we're going to need some command line magic:
|
|
14
14
|
So we should have a folder called "MyProject" with a textfile named "Cakefile" inside of it,
|
15
15
|
Xcake will look for this textfile, so make sure to keep it's name the same.
|
16
16
|
|
17
|
-
|
18
|
-
write some code to describe what the project should look like. So our first step is declaring
|
19
|
-
we want to create a new project.
|
20
|
-
|
21
|
-
So now in your textfile, type the following:
|
22
|
-
|
23
|
-
```ruby
|
24
|
-
Project.new do |c|
|
25
|
-
end
|
26
|
-
```
|
27
|
-
|
28
|
-
This code is quite clearly telling xcake to create a new project; So lets see what happens.
|
29
|
-
If we go to our folder and run `xcake` we should now have our xcode project. *phew* that was easy!
|
30
|
-
|
31
|
-
If we open it however it's not quite ready to use, it's still lacking any targets to actually build.
|
17
|
+
Now, If we run `xcake bake` we should now have our xcode project. *phew* that was easy! If we open it however it's not quite ready to use, it's still lacking any targets to actually build.
|
32
18
|
So let's fix that :)
|
33
19
|
|
34
20
|
We're going to create an app for iOS 9.0 called `MyApp`, hopefully the syntax should be easy to grasp:
|
35
21
|
|
36
22
|
```ruby
|
37
|
-
|
38
|
-
|
39
|
-
t.name = "MyApp"
|
40
|
-
end
|
23
|
+
application_for :ios, 9.0 do |target|
|
24
|
+
target.name = "MyApp"
|
41
25
|
end
|
42
26
|
```
|
43
27
|
|
44
|
-
Now if we run `xcake` again, we get the same project file but now with a target. In addition to this
|
28
|
+
Now if we run `xcake bake` again, we get the same project file but now with a target. In addition to this
|
45
29
|
xcake has created a `debug` and `release` build configuration as well as two schemes for our target
|
46
30
|
and these build configurations.
|
47
31
|
|
@@ -52,18 +36,14 @@ be a `debug` configuration so that the default build settings are optimised for
|
|
52
36
|
So lets add it, configurations are defined project-wide so we do it like this:
|
53
37
|
|
54
38
|
```ruby
|
55
|
-
|
56
|
-
|
57
|
-
c.debug_configuration :staging
|
58
|
-
|
59
|
-
c.application_for :ios, 9.0 do |t|
|
60
|
-
t.name = "MyApp"
|
61
|
-
end
|
39
|
+
debug_configuration :staging
|
62
40
|
|
41
|
+
application_for :ios, 9.0 do |target|
|
42
|
+
target.name = "MyApp"
|
63
43
|
end
|
64
44
|
```
|
65
45
|
|
66
|
-
Again we run `xcake` and voilla! Pretty easy but now if we open up our project
|
46
|
+
Again we run `xcake bake` and voilla! Pretty easy but now if we open up our project
|
67
47
|
our `debug` and `release` configurations are gone. Xcake operates an opt-out system, Xcode projects won't open
|
68
48
|
without any configurations so Xcake provides these configurations as a sensible default. But as soon as we
|
69
49
|
provide our own configurations we are opting out of these defaults.
|
@@ -72,16 +52,12 @@ Xcake does this to force us to make sure we have everything setup as we need it,
|
|
72
52
|
its just an extra couple of lines:
|
73
53
|
|
74
54
|
```ruby
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
c.debug_configuration :debug
|
79
|
-
c.release_configuration :release
|
80
|
-
|
81
|
-
c.application_for :ios, 9.0 do |t|
|
82
|
-
t.name = "MyApp"
|
83
|
-
end
|
55
|
+
debug_configuration :staging
|
56
|
+
debug_configuration :debug
|
57
|
+
release_configuration :release
|
84
58
|
|
59
|
+
application_for :ios, 9.0 do |target|
|
60
|
+
target.name = "MyApp"
|
85
61
|
end
|
86
62
|
```
|
87
63
|
|
@@ -23,7 +23,7 @@ This document describes the level of support Xcake has for the various aspects o
|
|
23
23
|
- Set platform
|
24
24
|
- Set deployment target
|
25
25
|
- Specify device (Universal, iPad Only or iPhone Only)
|
26
|
-
- Specifying Files and Assets to include for Target
|
26
|
+
- Specifying Files and Assets to include or exclude for Target
|
27
27
|
- Specifying Frameworks to include for Target
|
28
28
|
- Specify build settings via configurations
|
29
29
|
- Simple methods for creating iOS, Mac and WatchOS Applications.
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Xcake
|
2
|
+
class Command
|
3
|
+
class Bake < Command
|
4
|
+
self.summary = "Makes the Xcode project from a Cakefile"
|
5
|
+
self.description = "Makes the Xcode project from a Cakefile"
|
6
|
+
|
7
|
+
def run
|
8
|
+
file_path = "#{Dir.pwd}/Cakefile"
|
9
|
+
|
10
|
+
unless File.exist?(file_path)
|
11
|
+
raise Xcake::Informative, "Couldn't find Cakefile"
|
12
|
+
end
|
13
|
+
|
14
|
+
puts "Reading Cakefile..."
|
15
|
+
file_contents = File.read(file_path)
|
16
|
+
|
17
|
+
project = Project.new
|
18
|
+
project.instance_eval(file_contents)
|
19
|
+
|
20
|
+
resolver = ProjectStructureResolver.new
|
21
|
+
project.accept(resolver)
|
22
|
+
|
23
|
+
generator = Generator::Project.new
|
24
|
+
project.accept(generator)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module Xcake
|
2
|
+
class Command
|
3
|
+
class Init < Command
|
4
|
+
self.summary = "Initilises an example Cakefile for creating a project"
|
5
|
+
self.description = "Initilises an example Cakefile for creating a project"
|
6
|
+
|
7
|
+
def run
|
8
|
+
cakefile_path = "#{File.dirname(__FILE__)}/../resources/Cakefile"
|
9
|
+
cakefile_contents = File.read(cakefile_path)
|
10
|
+
File.write("Cakefile", cakefile_contents)
|
11
|
+
|
12
|
+
puts "Open Cakefile to edit and run xcake bake to get your xcode project"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
data/lib/xcake/command.rb
CHANGED
@@ -3,26 +3,13 @@ require "claide"
|
|
3
3
|
module Xcake
|
4
4
|
class Command < CLAide::Command
|
5
5
|
|
6
|
+
require "xcake/command/init"
|
7
|
+
require "xcake/command/bake"
|
8
|
+
|
9
|
+
self.abstract_command = true
|
6
10
|
self.command = "xcake"
|
7
11
|
self.version = VERSION
|
8
12
|
self.description = "Create and maintain Xcode project files easily."
|
9
|
-
|
10
|
-
def run
|
11
|
-
file_path = "#{Dir.pwd}/Cakefile"
|
12
|
-
|
13
|
-
unless File.exist?(file_path)
|
14
|
-
raise Xcake::Informative, "Couldn't find Cakefile"
|
15
|
-
end
|
16
|
-
|
17
|
-
puts "Reading Cakefile..."
|
18
|
-
file_contents = File.read(file_path)
|
19
|
-
cakefile = eval(file_contents)
|
20
|
-
|
21
|
-
resolver = ProjectStructureResolver.new
|
22
|
-
cakefile.accept(resolver)
|
23
|
-
|
24
|
-
generator = Generator::Project.new
|
25
|
-
cakefile.accept(generator)
|
26
|
-
end
|
13
|
+
self.plugin_prefixes = %w(claide xcake)
|
27
14
|
end
|
28
15
|
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Replace this with your class prefix for Objective-C files.
|
2
|
+
class_prefix = "APP"
|
3
|
+
|
4
|
+
# By default Xcake defaults to creating the standard Debug and Release
|
5
|
+
# configurations, uncomment these lines to add your own.
|
6
|
+
#
|
7
|
+
#debug_configuration :Staging
|
8
|
+
#debug_configuration :Debug
|
9
|
+
#release_configuration :Release
|
10
|
+
|
11
|
+
# Change these to the platform you wish to support (ios, osx) and the
|
12
|
+
# version of that platform (8.0, 9.0, 10.10, 10.11)
|
13
|
+
#
|
14
|
+
application_for :ios, 8.0 do |target|
|
15
|
+
|
16
|
+
#Update these with the details of your app
|
17
|
+
target.name = "YourApp"
|
18
|
+
target.all_configurations.product_bundle_identifier = "com.yourcompany.yourapp"
|
19
|
+
|
20
|
+
# Uncomment to target iPhone devices only
|
21
|
+
#
|
22
|
+
# File patterns can be seen here https://guides.cocoapods.org/syntax/podspec.html#group_file_patterns
|
23
|
+
#
|
24
|
+
#target.all_configurations.supported_devices = :iphone_only
|
25
|
+
|
26
|
+
# Uncomment this to include additional files
|
27
|
+
#
|
28
|
+
#target.include_files << "FolderToInclude/*.*"
|
29
|
+
|
30
|
+
# Uncomment this to exclude additional files
|
31
|
+
#
|
32
|
+
# File patterns can be seen here https://guides.cocoapods.org/syntax/podspec.html#group_file_patterns
|
33
|
+
#
|
34
|
+
#target.exclude_files << "ExcludeToInclude/*.*"
|
35
|
+
|
36
|
+
# Uncomment to set your own build settings
|
37
|
+
#
|
38
|
+
#target.all_configurations.settings["ENABLE_BITCODE"] = "NO"
|
39
|
+
#target.all_configurations.settings["GCC_PREFIX_HEADER"] = "APP-Prefix-Header.pch"
|
40
|
+
#target.all_configurations.settings["SWIFT_OBJC_BRIDGING_HEADER"] = "APP-Bridging-Header.h"
|
41
|
+
|
42
|
+
# Uncomment to define your own preprocessor macros
|
43
|
+
#
|
44
|
+
#target.all_configurations.preprocessor_definitions["API_ENDPOINT"] = "https://example.org".to_obj_c
|
45
|
+
|
46
|
+
# Comment to remove Unit Tests for your app
|
47
|
+
#
|
48
|
+
unit_tests_for target
|
49
|
+
|
50
|
+
# Uncomment to create a Watch App for your application.
|
51
|
+
#
|
52
|
+
#watch_app_for target, 2.0
|
53
|
+
end
|
data/lib/xcake/version.rb
CHANGED
data/lib/xcake.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
require "xcake/core_ext/string"
|
3
2
|
|
4
3
|
require "xcake/visitable"
|
@@ -6,7 +5,9 @@ require "xcake/visitor"
|
|
6
5
|
require "xcake/version"
|
7
6
|
|
8
7
|
require "xcake/informative"
|
8
|
+
|
9
9
|
require "xcake/command"
|
10
|
+
|
10
11
|
require "xcake/configuration"
|
11
12
|
require "xcake/configuration/sugar"
|
12
13
|
require "xcake/configuration/proxies/preproccessor_definitions_setting_proxy"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -184,6 +184,8 @@ files:
|
|
184
184
|
- lib/fastlane_plugin.rb
|
185
185
|
- lib/xcake.rb
|
186
186
|
- lib/xcake/command.rb
|
187
|
+
- lib/xcake/command/bake.rb
|
188
|
+
- lib/xcake/command/init.rb
|
187
189
|
- lib/xcake/configurable.rb
|
188
190
|
- lib/xcake/configuration.rb
|
189
191
|
- lib/xcake/configuration/proxies/preproccessor_definitions_setting_proxy.rb
|
@@ -207,6 +209,7 @@ files:
|
|
207
209
|
- lib/xcake/project/hooks.rb
|
208
210
|
- lib/xcake/project/sugar.rb
|
209
211
|
- lib/xcake/project_structure_resolver.rb
|
212
|
+
- lib/xcake/resources/Cakefile
|
210
213
|
- lib/xcake/target.rb
|
211
214
|
- lib/xcake/version.rb
|
212
215
|
- lib/xcake/visitable.rb
|
@@ -235,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
235
238
|
version: '0'
|
236
239
|
requirements: []
|
237
240
|
rubyforge_project:
|
238
|
-
rubygems_version: 2.
|
241
|
+
rubygems_version: 2.2.2
|
239
242
|
signing_key:
|
240
243
|
specification_version: 4
|
241
244
|
summary: DSL for Xcode Projects.
|