pod-builder 0.1.4 → 0.1.5
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/.vscode/launch.json +15 -1
- data/README.md +1 -1
- data/exe/pod_builder +10 -1
- data/lib/pod_builder/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: affaaa6d7e1e64bb565d0aae5dd4a28f50ba89235aed7921e83b0d5063ca457b
|
4
|
+
data.tar.gz: 3319855576eaef9bfcfd9b1482dce7c68c15b3ee1a508146091fc5819841933d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8917d03d818496326ae07cabc3986b0b0b362b87576eee498f7aee74a1fb2cfb29751ea58d263c990f17489cb730aed9f79e418ddc4e3d5932e146ef2241fa7f
|
7
|
+
data.tar.gz: c23be617294d6cc46159cce0a899d87c48fb3e47e6865dc7b1477706a64cd7983eb9ee036fa83241770747d523ab0b206caaa28a8e703c3e9c800c117ed98585
|
data/.vscode/launch.json
CHANGED
@@ -4,6 +4,19 @@
|
|
4
4
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
5
5
|
"version": "0.2.0",
|
6
6
|
"configurations": [
|
7
|
+
{
|
8
|
+
"name": "No Command",
|
9
|
+
"type": "Ruby",
|
10
|
+
"request": "launch",
|
11
|
+
"cwd": "/Users/tomas/Documents/Xcode/Subito4",
|
12
|
+
"useBundler": true,
|
13
|
+
"program": "${workspaceRoot}/exe/pod_builder",
|
14
|
+
"showDebuggerOutput": true,
|
15
|
+
"pathToRDebugIDE": "/usr/bin/rdebug-ide",
|
16
|
+
"args": [
|
17
|
+
|
18
|
+
]
|
19
|
+
},
|
7
20
|
{
|
8
21
|
"name": "Init",
|
9
22
|
"type": "Ruby",
|
@@ -42,7 +55,7 @@
|
|
42
55
|
"args": [
|
43
56
|
"build",
|
44
57
|
"-d",
|
45
|
-
"
|
58
|
+
"SBTGalleryView",
|
46
59
|
]
|
47
60
|
},
|
48
61
|
{
|
@@ -56,6 +69,7 @@
|
|
56
69
|
"pathToRDebugIDE": "/usr/bin/rdebug-ide",
|
57
70
|
"args": [
|
58
71
|
"build_all",
|
72
|
+
"-d"
|
59
73
|
]
|
60
74
|
},
|
61
75
|
{
|
data/README.md
CHANGED
@@ -173,7 +173,7 @@ Under _Example_ there's a sample project with a Podfile adding [Alamofire](https
|
|
173
173
|
$ pod_builder init
|
174
174
|
$ pod_builder build_all
|
175
175
|
|
176
|
-
This will initialize the project to use PodBuilder and prebuild Alamofire.
|
176
|
+
This will initialize the project to use PodBuilder and prebuild Alamofire, open the project in Xcode and compile.
|
177
177
|
|
178
178
|
# Contributing
|
179
179
|
|
data/exe/pod_builder
CHANGED
@@ -152,21 +152,30 @@ Options:
|
|
152
152
|
puts subcommand[:opts].help
|
153
153
|
end
|
154
154
|
end
|
155
|
+
|
156
|
+
return true
|
155
157
|
else
|
156
158
|
if !subcommands["none"][:call].first&.call(OPTIONS)
|
157
159
|
puts subcommands["none"][:opts].help
|
158
160
|
end
|
161
|
+
|
162
|
+
return false
|
159
163
|
end
|
160
164
|
end
|
161
165
|
|
166
|
+
command_executed = false
|
162
167
|
begin
|
163
168
|
unless ENV['USER'] != "root"
|
164
169
|
raise "\n\nFor safety do not run this as root\n".red
|
165
170
|
end
|
166
171
|
|
167
172
|
PodBuilder::Configuration.load
|
168
|
-
parse_commandline
|
173
|
+
command_executed = parse_commandline
|
169
174
|
ensure
|
175
|
+
unless command_executed
|
176
|
+
exit(0)
|
177
|
+
end
|
178
|
+
|
170
179
|
PodBuilder::clean_basepath
|
171
180
|
if !OPTIONS.has_key?(:debug)
|
172
181
|
PodBuilder::safe_rm_rf(PodBuilder::Configuration.build_path)
|
data/lib/pod_builder/version.rb
CHANGED