nixenvironment 0.0.48 → 0.0.49

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: edbc4d306fecf00ee668fb5b45665f26ac490a5d
4
- data.tar.gz: 89180dffb904b2b00566bc3a2ecfe52c8bb25294
3
+ metadata.gz: c167c0e0afe822df981ee968dabac2033064f35f
4
+ data.tar.gz: 5c2560fb51c4b30878f7fd23f97169b6322e8331
5
5
  SHA512:
6
- metadata.gz: 4afd316bab824de4f46f6a71c4df23836c9f16f8bd4bf5c4f93e7dce7e563b3037d76b315d100d4a1f72a0b5f50495cb6ac579a3b6501f113dc04c87059b9c65
7
- data.tar.gz: a27d7f62457cee80bb89f82a5f0de1608e98bee5dc5df3a0afc2df566aa5e4f6f4c20c7809062faf571e5c48d341192e4ca21b0aff5e2d511905913e8e9f72f1
6
+ metadata.gz: 9f086be5edef88dda8443e79f2b959d965c128241e460577cb1e6821223aaed44d507a8558f89b0ac897862d07266cf5f07ca4c71897269d36858dcd6b351284
7
+ data.tar.gz: a67b98b5a85a883fd230101086e2998cecedb81a2876bb97ba7cf2cfc38c606c8cf8caba29521c633141f7276a50c12b5287988ee622d7fb09e39e79072b610a
data/bin/nixenvironment CHANGED
@@ -77,8 +77,9 @@ command :build do |c|
77
77
  options.default :config => 'Debug', :ipa => 'device', :icon_tagger => 'full', :unity_path => 'UNITY'
78
78
 
79
79
  need_to_build_ios = true
80
+ is_unity_platform = options.unity_platform and options.unity_platform.length > 0
80
81
 
81
- if options.unity_platform and options.unity_platform.length > 0
82
+ if is_unity_platform
82
83
  unity_path = ENV[options.unity_path].nil? ? options.unity_path : ENV[options.unity_path]
83
84
  need_to_build_ios, root_working_dir, need_chdir_to_root_working_dir = unity_build(options.unity_platform, unity_path, options.development_build, options.keystore_path, options.keystore_password, options.key_alias_name, options.key_alias_password)
84
85
  end
@@ -86,6 +87,11 @@ command :build do |c|
86
87
  if need_to_build_ios
87
88
  begin
88
89
  read_config_settings
90
+
91
+ if is_unity_platform
92
+ @config_settings['ICONS_PATH'] = 'Unity-iPhone/Images.xcassets' unless $icons_path
93
+ end
94
+
89
95
  enable_ci_build(options.ci_build)
90
96
  supplement_config_settings(options.config)
91
97
  prebuild(options.config)
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.48'
2
+ VERSION = '0.0.49'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nixenvironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.48
4
+ version: 0.0.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Arzumanian