nixenvironment 0.0.18 → 0.0.19
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 +17 -3
- 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: 91bf606ddaf0e82f2749502298554d8002f7089d
|
|
4
|
+
data.tar.gz: 92339dc986bcfec91f466fe88b0e4996e2c1702e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2ee301b3b7924dc6c1622a4ee39bb2fd3b18ae2f7eaf3a879dd17c4ed04a586894e413ee5d1783f3cafc023d10a1e493156201d34361502891268173138cb9c
|
|
7
|
+
data.tar.gz: c6e1a567987ee262858e950324f9af24fa67f2ea6108820cf55d796ce1ec70a5922d468c925145d46f70d176942434351e1464e88eb0d18d894f4306ea97cb95
|
data/bin/nixenvironment
CHANGED
|
@@ -318,6 +318,10 @@ def setup(config)
|
|
|
318
318
|
end
|
|
319
319
|
end
|
|
320
320
|
|
|
321
|
+
build_settings['CONFIGURATION_BUILD_DIR'] = 'build'
|
|
322
|
+
build_settings['BUILT_PRODUCTS_DIR'] = 'build'
|
|
323
|
+
build_settings['DWARF_DSYM_FOLDER_PATH'] = 'build'
|
|
324
|
+
|
|
321
325
|
return build_settings
|
|
322
326
|
end
|
|
323
327
|
|
|
@@ -367,6 +371,10 @@ def build(build_settings, config, ipa)
|
|
|
367
371
|
|
|
368
372
|
build_success = nil
|
|
369
373
|
|
|
374
|
+
configuration_build_dir = build_settings['CONFIGURATION_BUILD_DIR']
|
|
375
|
+
dwarf_dsym_folder_path = build_settings['DWARF_DSYM_FOLDER_PATH']
|
|
376
|
+
built_products_dir = build_settings['BUILT_PRODUCTS_DIR']
|
|
377
|
+
|
|
370
378
|
if @config['PROJECT_TO_BUILD'] and @config['PROJECT_TO_BUILD'].length > 0
|
|
371
379
|
if @config['PROJECT_TARGET_TO_BUILD'] and @config['PROJECT_TARGET_TO_BUILD'].length > 0
|
|
372
380
|
build_success = system("#{build} --project \"#{@config['PROJECT_TO_BUILD']}\"\
|
|
@@ -375,7 +383,9 @@ def build(build_settings, config, ipa)
|
|
|
375
383
|
--sdk \"#{@config['SDK']}\"\
|
|
376
384
|
--env-var-prefix \"#{@config['ENV_VAR_PREFIX']}\"\
|
|
377
385
|
DEBUG_INFORMATION_FORMAT=\"dwarf-with-dsym\"\
|
|
378
|
-
DWARF_DSYM_FOLDER_PATH=\"#{
|
|
386
|
+
DWARF_DSYM_FOLDER_PATH=\"#{dwarf_dsym_folder_path}\"\
|
|
387
|
+
CONFIGURATION_BUILD_DIR=\"#{configuration_build_dir}\"\
|
|
388
|
+
BUILT_PRODUCTS_DIR=\"#{built_products_dir}\"")
|
|
379
389
|
else
|
|
380
390
|
build_success = system("#{build} --project \"#{@config['PROJECT_TO_BUILD']}\"\
|
|
381
391
|
--scheme \"#{@config['WORKSPACE_SCHEME_TO_BUILD']}\"\
|
|
@@ -383,7 +393,9 @@ def build(build_settings, config, ipa)
|
|
|
383
393
|
--sdk \"#{@config['SDK']}\"\
|
|
384
394
|
--env-var-prefix \"#{@config['ENV_VAR_PREFIX']}\"\
|
|
385
395
|
DEBUG_INFORMATION_FORMAT=\"dwarf-with-dsym\"\
|
|
386
|
-
DWARF_DSYM_FOLDER_PATH=\"#{
|
|
396
|
+
DWARF_DSYM_FOLDER_PATH=\"#{dwarf_dsym_folder_path}\"\
|
|
397
|
+
CONFIGURATION_BUILD_DIR=\"#{configuration_build_dir}\"\
|
|
398
|
+
BUILT_PRODUCTS_DIR=\"#{built_products_dir}\"")
|
|
387
399
|
end
|
|
388
400
|
elsif @config['WORKSPACE_TO_BUILD'] and @config['WORKSPACE_TO_BUILD'].length > 0
|
|
389
401
|
build_success = system("#{build} --workspace \"#{@config['WORKSPACE_TO_BUILD']}\"\
|
|
@@ -392,7 +404,9 @@ def build(build_settings, config, ipa)
|
|
|
392
404
|
--sdk \"#{@config['SDK']}\"\
|
|
393
405
|
--env-var-prefix \"#{@config['ENV_VAR_PREFIX']}\"\
|
|
394
406
|
DEBUG_INFORMATION_FORMAT=\"dwarf-with-dsym\"\
|
|
395
|
-
DWARF_DSYM_FOLDER_PATH=\"#{
|
|
407
|
+
DWARF_DSYM_FOLDER_PATH=\"#{dwarf_dsym_folder_path}\"\
|
|
408
|
+
CONFIGURATION_BUILD_DIR=\"#{configuration_build_dir}\"\
|
|
409
|
+
BUILT_PRODUCTS_DIR=\"#{built_products_dir}\"")
|
|
396
410
|
end
|
|
397
411
|
|
|
398
412
|
unless build_success
|
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.19
|
|
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-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|