nixenvironment 0.0.38 → 0.0.39
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 +25 -22
- 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: b5c47f54246daba6b399cc1474a964800c5d9420
|
|
4
|
+
data.tar.gz: c19409541ac93314de5e4407df6afd06c00458a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb874cbf42b8f76db8424c965810a535133d6b4f3c352a3774658a2d3e2bb23fc37f504572a10b699f5dcfdf7aa01c9284fab8fa44ed353c5f3370577e0bbd33
|
|
7
|
+
data.tar.gz: effcb35401b57ddbaa9cf31317634dee1437bec66715c8db00ff14d5fd89e282d5f1513b8d1ebf504b7a57c4c3b4989797e31a14bd0f67fb115d3569dcd59e21
|
data/bin/nixenvironment
CHANGED
|
@@ -61,13 +61,13 @@ command :build do |c|
|
|
|
61
61
|
c.syntax = 'nixenvironment build [options]'
|
|
62
62
|
c.description = 'Build project for selected configuration and make signed/resigned ipa'
|
|
63
63
|
c.option '--config NAME', String, 'Select configuration'
|
|
64
|
-
c.option '--ipa
|
|
64
|
+
c.option '--ipa TYPES', String, 'Select sign (device, resigned_device, resigned_adhoc, resigned_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
67
|
c.option '--ndsym', 'Disable .dsym generation for ios project'
|
|
68
68
|
c.option '--icon_tagger MODE', String, 'Set XcodeIconTagger mode (full, short, off)'
|
|
69
69
|
c.action do |args, options|
|
|
70
|
-
options.default :config => 'Debug', :ipa => '
|
|
70
|
+
options.default :config => 'Debug', :ipa => 'device', :icon_tagger => 'full'
|
|
71
71
|
|
|
72
72
|
need_to_build_ios = true
|
|
73
73
|
|
|
@@ -478,28 +478,31 @@ def build(config, ipa, ndsym, icon_tagger)
|
|
|
478
478
|
end
|
|
479
479
|
end
|
|
480
480
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
481
|
+
ipa.split.each do |current_ipa|
|
|
482
|
+
case current_ipa
|
|
483
|
+
# create .ipa file from last built app product
|
|
484
|
+
when 'device'
|
|
485
|
+
make = File.join(BUILD_SCRIPTS_PATH, 'MakeIPA.sh')
|
|
486
|
+
# resign last built app product with iPhone Developer profile and package it into .ipa file
|
|
487
|
+
when 'resigned_device'
|
|
488
|
+
make = File.join(BUILD_SCRIPTS_PATH, 'MakeResignedIPAForDevice.sh')
|
|
489
|
+
# resign last built app product with iPhone Distribution AdHoc profile and package it into .ipa file
|
|
490
|
+
when 'resigned_adhoc'
|
|
491
|
+
make = File.join(BUILD_SCRIPTS_PATH, 'MakeResignedIPAForAdHocDistribution.sh')
|
|
492
|
+
# resign last built app product with Appstore distribution profile and package it into .ipa file
|
|
493
|
+
when 'resigned_appstore'
|
|
494
|
+
make = File.join(BUILD_SCRIPTS_PATH, 'MakeResignedIPAForAppstore.sh')
|
|
495
|
+
else
|
|
496
|
+
restore_info_plist
|
|
497
|
+
abort("Error: Unknown ipa '#{current_ipa}'!")
|
|
498
|
+
end
|
|
497
499
|
|
|
498
|
-
|
|
500
|
+
make_success = system("#{make}") if defined? make
|
|
499
501
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
502
|
+
unless make_success
|
|
503
|
+
restore_info_plist
|
|
504
|
+
abort("#{make} error!")
|
|
505
|
+
end
|
|
503
506
|
end
|
|
504
507
|
end
|
|
505
508
|
|
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.39
|
|
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-02-
|
|
11
|
+
date: 2015-02-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|