nixenvironment 0.0.49 → 0.0.50
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 +8 -8
- 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: e0f118362f5a037e4afb97abbcbe2fa0d1e0d0d6
|
4
|
+
data.tar.gz: 80b463b4223b3011dc44891ab29040d61c48aa32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66b790bb9190bd64932aa09f46d9c0f4dc58359ba4b1d4ef8dd2960cf353ffedfbb8900d73ff5826503f6e0e4f842a91337f4b58b142b4d69a6ad6ab9c9de222
|
7
|
+
data.tar.gz: 0253e641451e391e19f5718a53e826f82ee718e53d4236ddcb85fc1c6db75b275d7ffaff09c0ecbda08aa153324106b92f035d37ad7b7806c1b72ba7ea09e045
|
data/bin/nixenvironment
CHANGED
@@ -65,11 +65,11 @@ command :build do |c|
|
|
65
65
|
c.option '--ipa TYPES', String, 'Select sign (device, resigned_device, resigned_adhoc, resigned_appstore)'
|
66
66
|
c.option '--ci_build', 'Define NIXENV_CI_BUILD environment variable'
|
67
67
|
c.option '--unity_path PATH', String, 'Select unity executable path (UNITY, UNITY_4 or custom path)'
|
68
|
-
c.option '--
|
69
|
-
c.option '--
|
70
|
-
c.option '--
|
71
|
-
c.option '--
|
72
|
-
c.option '--
|
68
|
+
c.option '--development_build', 'Enable Developmen flag in Unity project'
|
69
|
+
c.option '--keystore_path PATH', String, 'Specify the path to .keystore file'
|
70
|
+
c.option '--keystore_password PASSWORD', String, 'Specify the password for accessing a .keystore file'
|
71
|
+
c.option '--key_alias_name NAME', String, 'Specify the alias name which should be used from .keystore file to sign a release version of an APK'
|
72
|
+
c.option '--key_alias_password PASSWORD', String, 'Specify the password for accessing an alias name'
|
73
73
|
c.option '--unity_platform TARGET PLATFORM', String, 'Select target platform for unity build (ios or android)'
|
74
74
|
c.option '--ndsym', 'Disable .dsym generation for ios project'
|
75
75
|
c.option '--icon_tagger MODE', String, 'Set XcodeIconTagger mode (full, short, off)'
|
@@ -81,7 +81,7 @@ command :build do |c|
|
|
81
81
|
|
82
82
|
if is_unity_platform
|
83
83
|
unity_path = ENV[options.unity_path].nil? ? options.unity_path : ENV[options.unity_path]
|
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
|
+
need_to_build_ios, root_working_dir, need_chdir_to_root_working_dir = unity_build(options.config, options.unity_platform, unity_path, options.development_build, options.keystore_path, options.keystore_password, options.key_alias_name, options.key_alias_password)
|
85
85
|
end
|
86
86
|
|
87
87
|
if need_to_build_ios
|
@@ -523,7 +523,7 @@ def build(config, ipa, ndsym, icon_tagger)
|
|
523
523
|
end
|
524
524
|
end
|
525
525
|
|
526
|
-
def unity_build(unity_platform, unity_path, development_build, keystore_path, keystore_password, key_alias_name, key_alias_password)
|
526
|
+
def unity_build(configuration, unity_platform, unity_path, development_build, keystore_path, keystore_password, key_alias_name, key_alias_password)
|
527
527
|
root_working_dir = nil
|
528
528
|
need_chdir_to_root_working_dir = false
|
529
529
|
need_to_build_ios = false
|
@@ -569,7 +569,7 @@ def unity_build(unity_platform, unity_path, development_build, keystore_path, ke
|
|
569
569
|
key_alias_name_arg = key_alias_name ? "--key-alias-name #{key_alias_name}" : ''
|
570
570
|
key_alias_password_arg = key_alias_password ? "--key-alias-password #{key_alias_password}" : ''
|
571
571
|
|
572
|
-
build_success = system("#{unity_build_android} --unity-path #{unity_path} #{development_build_arg} #{keystore_path_arg} #{keystore_password_arg} #{key_alias_name_arg} #{key_alias_password_arg}")
|
572
|
+
build_success = system("#{unity_build_android} --configuration #{configuration} --unity-path #{unity_path} #{development_build_arg} #{keystore_path_arg} #{keystore_password_arg} #{key_alias_name_arg} #{key_alias_password_arg}")
|
573
573
|
abort('Android build unity error!') unless build_success
|
574
574
|
|
575
575
|
clean_working_copy(false)
|
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.50
|
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-07-
|
11
|
+
date: 2015-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|