nixenvironment 0.0.34 → 0.0.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/nixenvironment +8 -5
- 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: ca841603392fd86767fe446640c1a2c72a737969
|
4
|
+
data.tar.gz: b786f4cea168e364c9c970479f3275250e8d5766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c8cf208224e6145c8a92932e4375207ecc9d7f6a60012ae3186a11f4c2f0fd658031b3d7252d5665794d4f2f95a274f1b17a38dcfb150163c3909862750af93
|
7
|
+
data.tar.gz: b5c3870e361ed5098bbcf766ded81aa747c14507dbc9ae66391bbf100ee94f2037f740bcdaae00427378d1d573b2121fde1ffebcc5705af168a53f5070741124
|
data/bin/nixenvironment
CHANGED
@@ -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=\"
|
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=\"
|
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=\"
|
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}\"")
|
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.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-
|
11
|
+
date: 2015-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|