nixenvironment 0.0.34 → 0.0.35

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 173a2932b8b3e3fcae157d9d4a8c3c7069cd86df
4
- data.tar.gz: 8cffe692cba5864298bb6b1efe51d96d104a2c1d
3
+ metadata.gz: ca841603392fd86767fe446640c1a2c72a737969
4
+ data.tar.gz: b786f4cea168e364c9c970479f3275250e8d5766
5
5
  SHA512:
6
- metadata.gz: 8b671c401f9064d6a0c22a34409ea4ecbbd4d3ae6c314bfd397ab35d927d470833de2e88db8c6d3c6f245c605d24d30c4a627b7154136fe27aad01a181526552
7
- data.tar.gz: 69e313172837915b0f34b6e2d4094de05fa2b975fc26053ad2446a9997b090d3c2b6656ae460835b1545673886710077f459196fab3f7a9db902e5cdfea5dbe1
6
+ metadata.gz: 5c8cf208224e6145c8a92932e4375207ecc9d7f6a60012ae3186a11f4c2f0fd658031b3d7252d5665794d4f2f95a274f1b17a38dcfb150163c3909862750af93
7
+ data.tar.gz: b5c3870e361ed5098bbcf766ded81aa747c14507dbc9ae66391bbf100ee94f2037f740bcdaae00427378d1d573b2121fde1ffebcc5705af168a53f5070741124
@@ -64,6 +64,7 @@ command :build do |c|
64
64
  c.option '--ipa TYPE', String, 'Select sign (ipa, resigned_ipa_for_device, resigned_ipa_for_adhoc_distribution or resigned_ipa_for_appstore)'
65
65
  c.option '--ci_build', 'Define NIXENV_CI_BUILD environment variable'
66
66
  c.option '--unity TARGET PLATFORM', String, 'Select target platform for unity build (ios or android)'
67
+ c.option '--ndsym', 'Disable .dsym generation for ios project'
67
68
  c.action do |args, options|
68
69
  options.default :config => 'Debug', :ipa => 'ipa'
69
70
 
@@ -79,7 +80,7 @@ command :build do |c|
79
80
  enable_ci_build(options.ci_build)
80
81
  supplement_config_settings(options.config)
81
82
  prebuild(options.config)
82
- build(options.config, options.ipa)
83
+ build(options.config, options.ipa, options.ndsym)
83
84
  restore_info_plist
84
85
  rescue
85
86
  raise # re-rise exception but chdir to root_working_dir in ensure block first if needed
@@ -415,7 +416,7 @@ def prebuild(config)
415
416
  # system("#{tag_icons} #{@config_settings['ICONS_PATH']}")
416
417
  end
417
418
 
418
- def build(config, ipa)
419
+ def build(config, ipa, ndsym)
419
420
  build = File.join(BUILD_SCRIPTS_PATH, 'Build.py')
420
421
 
421
422
  build_success = nil
@@ -424,6 +425,8 @@ def build(config, ipa)
424
425
  dwarf_dsym_folder_path = @config_settings['DWARF_DSYM_FOLDER_PATH']
425
426
  built_products_dir = @config_settings['BUILT_PRODUCTS_DIR']
426
427
 
428
+ debug_information_format = ndsym ? 'dwarf' : 'dwarf-with-dsym'
429
+
427
430
  if @config_settings['PROJECT_TO_BUILD'] and @config_settings['PROJECT_TO_BUILD'].length > 0
428
431
  if @config_settings['PROJECT_TARGET_TO_BUILD'] and @config_settings['PROJECT_TARGET_TO_BUILD'].length > 0
429
432
  build_success = system("#{build} --project \"#{@config_settings['PROJECT_TO_BUILD']}\"\
@@ -431,7 +434,7 @@ def build(config, ipa)
431
434
  --configuration \"#{config}\"\
432
435
  --sdk \"#{@config_settings['SDK']}\"\
433
436
  --env-var-prefix \"#{@config_settings['ENV_VAR_PREFIX']}\"\
434
- DEBUG_INFORMATION_FORMAT=\"dwarf-with-dsym\"\
437
+ DEBUG_INFORMATION_FORMAT=\"#{debug_information_format}\"\
435
438
  DWARF_DSYM_FOLDER_PATH=\"#{dwarf_dsym_folder_path}\"\
436
439
  CONFIGURATION_BUILD_DIR=\"#{configuration_build_dir}\"\
437
440
  BUILT_PRODUCTS_DIR=\"#{built_products_dir}\"")
@@ -441,7 +444,7 @@ def build(config, ipa)
441
444
  --configuration \"#{config}\"\
442
445
  --sdk \"#{@config_settings['SDK']}\"\
443
446
  --env-var-prefix \"#{@config_settings['ENV_VAR_PREFIX']}\"\
444
- DEBUG_INFORMATION_FORMAT=\"dwarf-with-dsym\"\
447
+ DEBUG_INFORMATION_FORMAT=\"#{debug_information_format}\"\
445
448
  DWARF_DSYM_FOLDER_PATH=\"#{dwarf_dsym_folder_path}\"\
446
449
  CONFIGURATION_BUILD_DIR=\"#{configuration_build_dir}\"\
447
450
  BUILT_PRODUCTS_DIR=\"#{built_products_dir}\"")
@@ -452,7 +455,7 @@ def build(config, ipa)
452
455
  --configuration \"#{config}\"\
453
456
  --sdk \"#{@config_settings['SDK']}\"\
454
457
  --env-var-prefix \"#{@config_settings['ENV_VAR_PREFIX']}\"\
455
- DEBUG_INFORMATION_FORMAT=\"dwarf-with-dsym\"\
458
+ DEBUG_INFORMATION_FORMAT=\"#{debug_information_format}\"\
456
459
  DWARF_DSYM_FOLDER_PATH=\"#{dwarf_dsym_folder_path}\"\
457
460
  CONFIGURATION_BUILD_DIR=\"#{configuration_build_dir}\"\
458
461
  BUILT_PRODUCTS_DIR=\"#{built_products_dir}\"")
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.34'
2
+ VERSION = '0.0.35'
3
3
  end
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.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Arzumanian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-21 00:00:00.000000000 Z
11
+ date: 2015-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler