fir-cli 1.4.6 → 1.4.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f230c2c2a1ed0655a63ba484a9a734d9597cf39
4
- data.tar.gz: a8f828a4f9cefd0d1c15ccffdc3f389fbd1f5e4a
3
+ metadata.gz: b48f9ebc4585b549dde104d253061c5841a4794f
4
+ data.tar.gz: 7ad1fce8df00369f7523ced7c3f9e0f765a6910a
5
5
  SHA512:
6
- metadata.gz: 9baeff6c9a3268ff5cc83f1c955bfbd30f8db989a23ec32395736c14e3a5c8f3f930e36c9ebd49c789cc52236587e36b209f8aa1cd092fc98063a0ec878c5c78
7
- data.tar.gz: 721c928eb10bc281fb48ab300597dc27052095ee7048caa67e91beda220d7dd8efeeb9753d109bcded45fbc2440e9fdac2f1dd47d5faa8990b1f27b8ab05ba56
6
+ metadata.gz: a3185e5ac69bbe774842fb7e72c3e3a95a5042fa1c76bc83fd52957612b7451099d3fd25f8b2a782816a1b163d433078209d206cdadfcb39ebf2279525b81885
7
+ data.tar.gz: b7c0826ee737b50a1fed0cf536e13a2280e1f1210b14e174be52fc21264ca1e912037630af19cc2db1fc572bf12e9a8f785b827fd3345c533381a38dab063047
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  ## 更新记录
2
2
 
3
+ ### fir-cli 1.4.7
4
+ - 增加 build_ipa 中的 destination 参数
5
+
3
6
  ### fir-cli 1.4.6
4
7
  - 上传增加设置密码及公开访问权限的参数, [Issue #62](https://github.com/FIRHQ/fir-cli/issues/62)
5
8
  - 打包增加指定 `exportProvisioningProfile` 参数, [Issue #59](https://github.com/FIRHQ/fir-cli/issues/59)
data/README.md CHANGED
@@ -9,6 +9,8 @@
9
9
 
10
10
  fir.im-cli 可以通过指令查看, 上传, 编译 iOS/Android 应用.
11
11
 
12
+ ![fir-cli](http://7rf35s.com1.z0.glb.clouddn.com/fir-cli-new.gif)
13
+
12
14
  ## 安装
13
15
 
14
16
  ### OS X 安装
data/fir-cli.gemspec CHANGED
@@ -27,10 +27,11 @@ Gem::Specification.new do |spec|
27
27
  /_/ /___/_/ |_| \____/_____/___/
28
28
 
29
29
  ## 更新记录
30
- ### fir-cli 1.4.6
30
+ ### fir-cli 1.4.7
31
31
  - 增加上传时候设置密码及公开访问权限
32
32
  - 增加 Android flavor 打包(感谢 [msdx](https://github.com/msdx) 的热心帮助)
33
33
  - `$ fir ba <project dir> -f <flavor>`
34
+ - 增加 build_ipa 中的 destination 参数
34
35
  - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG
35
36
  - [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源
36
37
  - 欢迎 fork, issue 和 pull request
data/lib/fir/cli.rb CHANGED
@@ -29,6 +29,7 @@ module FIR
29
29
  method_option :workspace, type: :boolean, aliases: '-w', desc: 'true/false if build workspace'
30
30
  method_option :scheme, type: :string, aliases: '-S', desc: 'Set the scheme NAME if build workspace'
31
31
  method_option :configuration, type: :string, aliases: '-C', desc: 'Use the build configuration NAME for building each target'
32
+ method_option :destination, type: :string, aliases: '-d', desc: 'Set the destinationspecifier'
32
33
  method_option :target, type: :string, aliases: '-t', desc: 'Build the target specified by targetname'
33
34
  method_option :profile, type: :string, aliases: '-f', desc: 'Set the export provisioning profile'
34
35
  method_option :output, type: :string, aliases: '-o', desc: 'IPA output path, the default is: BUILD_DIR/fir_build_ipa'
@@ -25,11 +25,13 @@ module FIR
25
25
  @target_name = options[:target]
26
26
  @scheme_name = options[:scheme]
27
27
  @profile_name = options[:profile]
28
+ @destination = options[:destination]
28
29
 
29
30
  build_cmd = 'xcodebuild build -sdk iphoneos'
30
31
  build_cmd += initialize_xcode_build_path(options)
31
32
  build_cmd += " -configuration '#{@configuration}'" unless @configuration.blank?
32
33
  build_cmd += " -target '#{@target_name}'" unless @target_name.blank?
34
+ build_cmd += " -destination '#{@destination}'" unless @destination.blank?
33
35
  build_cmd += " -exportProvisioningProfile '#{@profile_name}'" unless @profile_name.blank?
34
36
  build_cmd += " #{ipa_custom_settings(args)} 2>&1"
35
37
  build_cmd
data/lib/fir/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module FIR
4
- VERSION = '1.4.6'
4
+ VERSION = '1.4.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fir-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - NaixSpirit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-21 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -206,10 +206,11 @@ metadata: {}
206
206
  post_install_message: "\n ______________ ________ ____\n /
207
207
  ____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
208
208
  /\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
209
- \ ## 更新记录\n ### fir-cli 1.4.6\n - 增加上传时候设置密码及公开访问权限\n - 增加 Android flavor 打包(感谢
209
+ \ ## 更新记录\n ### fir-cli 1.4.7\n - 增加上传时候设置密码及公开访问权限\n - 增加 Android flavor 打包(感谢
210
210
  [msdx](https://github.com/msdx) 的热心帮助)\n - `$ fir ba <project dir> -f <flavor>`\n
211
- \ - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n - [fir-cli](https://github.com/FIRHQ/fir-cli)
212
- 已经开源\n - 欢迎 fork, issue 和 pull request\n "
211
+ \ - 增加 build_ipa 中的 destination 参数\n - 详细更新记录, 请查看: https://github.com/FIRHQ/fir-cli/blob/master/CHANGELOG\n
212
+ \ - [fir-cli](https://github.com/FIRHQ/fir-cli) 已经开源\n - 欢迎 fork, issue 和 pull
213
+ request\n "
213
214
  rdoc_options: []
214
215
  require_paths:
215
216
  - lib