nixenvironment 0.0.13 → 0.0.14
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/bin/nixenvironment +26 -10
- data/lib/nixenvironment/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b33c69ca91104d47aa95170b7a5a6f3db8dbe46
|
4
|
+
data.tar.gz: 97b89eb5314b3b07b3f53a9e2c8e04c6527402a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac514d4049ca98eeb5bdfc2c72b72751b91fcc78a5cb7ba5405562e93e7d4740b4578c38ccefec08bcf61f28514f7970f5d82e132e83d97c3ec58c880ae394d
|
7
|
+
data.tar.gz: 1fa15f273d11e9c99bcee25f70c39d09ddd00a9d56018c18b5f5d56057aed216a22fc525f1ceca3f31e524a27597043af381c25e904058960f80e5bcedc207e1
|
data/bin/nixenvironment
CHANGED
@@ -270,11 +270,19 @@ def setup(config)
|
|
270
270
|
abort("Build error! Configuration #{config} doesn't exist") unless info['Build Configurations'].include?(config)
|
271
271
|
|
272
272
|
if @config['PROJECT_TO_BUILD'] and @config['PROJECT_TO_BUILD'].length > 0
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
273
|
+
if @config['PROJECT_TARGET_TO_BUILD'] and @config['PROJECT_TARGET_TO_BUILD'].length > 0
|
274
|
+
cmd_output = %x[ xcodebuild -project #{@config['PROJECT_TO_BUILD']}\
|
275
|
+
-target #{@config['PROJECT_TARGET_TO_BUILD']}\
|
276
|
+
-configuration #{config}\
|
277
|
+
-sdk #{@config['SDK']}\
|
278
|
+
-showBuildSettings ]
|
279
|
+
else
|
280
|
+
cmd_output = %x[ xcodebuild -project #{@config['PROJECT_TO_BUILD']}\
|
281
|
+
-scheme #{@config['WORKSPACE_SCHEME_TO_BUILD']}\
|
282
|
+
-configuration #{config}\
|
283
|
+
-sdk #{@config['SDK']}\
|
284
|
+
-showBuildSettings ]
|
285
|
+
end
|
278
286
|
elsif @config['WORKSPACE_TO_BUILD'] and @config['WORKSPACE_TO_BUILD'].length > 0
|
279
287
|
cmd_output = %x[ xcodebuild -workspace #{@config['WORKSPACE_TO_BUILD']}\
|
280
288
|
-scheme #{@config['WORKSPACE_SCHEME_TO_BUILD']}\
|
@@ -351,11 +359,19 @@ def build(config, ipa)
|
|
351
359
|
build_success = nil
|
352
360
|
|
353
361
|
if @config['PROJECT_TO_BUILD'] and @config['PROJECT_TO_BUILD'].length > 0
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
362
|
+
if @config['PROJECT_TARGET_TO_BUILD'] and @config['PROJECT_TARGET_TO_BUILD'].length > 0
|
363
|
+
build_success = system("#{build} --project \"#{@config['PROJECT_TO_BUILD']}\"\
|
364
|
+
--target \"#{@config['PROJECT_TARGET_TO_BUILD']}\"\
|
365
|
+
--configuration \"#{config}\"\
|
366
|
+
--sdk \"#{@config['SDK']}\"\
|
367
|
+
--env-var-prefix \"#{@config['ENV_VAR_PREFIX']}\"")
|
368
|
+
else
|
369
|
+
build_success = system("#{build} --project \"#{@config['PROJECT_TO_BUILD']}\"\
|
370
|
+
--scheme \"#{@config['WORKSPACE_SCHEME_TO_BUILD']}\"\
|
371
|
+
--configuration \"#{config}\"\
|
372
|
+
--sdk \"#{@config['SDK']}\"\
|
373
|
+
--env-var-prefix \"#{@config['ENV_VAR_PREFIX']}\"")
|
374
|
+
end
|
359
375
|
elsif @config['WORKSPACE_TO_BUILD'] and @config['WORKSPACE_TO_BUILD'].length > 0
|
360
376
|
build_success = system("#{build} --workspace \"#{@config['WORKSPACE_TO_BUILD']}\"\
|
361
377
|
--scheme \"#{@config['WORKSPACE_SCHEME_TO_BUILD']}\"\
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nixenvironment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karen Arzumanian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|