ikun 0.1.0 → 1.0.0

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
  SHA256:
3
- metadata.gz: f238610c17932f2d267f8ef196767e5ec7ff7552ed1affdb05294c7cd199ab71
4
- data.tar.gz: 345a335aed4392ecb95aaa5f0667b44bb19f1213b006963c3937daa1571da060
3
+ metadata.gz: 4b14a867a8e447defe51793ff3bdad40601979c00ad737919ce2a9d6ba80132d
4
+ data.tar.gz: 5b5d6b6c8fe71349377d903aff00b97ff095475a602d9aa1b2dc2c47425dff54
5
5
  SHA512:
6
- metadata.gz: a40bb4c01e3f34941e9ffd7d57e337302ce9e3aa6dc3bb67a27876e8192e2807c70a2bf295218cb7ddf864378edd5799429fcbabae928a1a4091fec72be5198f
7
- data.tar.gz: b309e769474637ac6733a37f2a073939f338be7d44ad3df070b3f4fd5a898a2e40c382033bf2807193e1c442f7bfa9389fb64a51d3d1d49495d0fb222aabb92f
6
+ metadata.gz: e569251f5c2b05a577f3635784a27abe9058c1ca339e51b022679aee617ff12482f57d584f1d58601f32ae0eac0fc5396c911dc2b3c64567757375b0f3aba3f8
7
+ data.tar.gz: dfefd29c4037885ac338abbe5173c964b0053214dd5e9a6e274d6c94ae66297114b55b421eedad279fe95e917ec3eeba4a3d95cab5ba809116158e0ec7288834
data/lib/ikun/command.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'ikun/command/setup'
2
2
  require 'claide'
3
+ require 'fileutils'
3
4
 
4
5
  module Ikun
5
6
  class Command < CLAide::Command
@@ -13,15 +14,20 @@ class Setup < Ikun::Command
13
14
 
14
15
  def self.options
15
16
  [
16
- ['--shipping', '使用shipping路径的MetaWorldMobile.framework']
17
+ ['--shipping', '使用shipping路径的MetaWorldMobile.framework'],
18
+ ['--branch=CONTAINER_BRANCH', 'gpark分支, 默认为main分支']
17
19
  ].concat(super)
18
20
  end
19
21
 
20
22
  def initialize(argv)
21
23
  @shipping = argv.flag?('shipping', false)
24
+ @branch = argv.option('branch', 'main')
22
25
  super
23
26
  end
24
27
 
25
28
  def run
29
+ `git clone git@gitlab.appshahe.com:shared-specs/ikun.git -b main`
30
+ FileUtils.cd('ikun')
31
+ `sh setup.sh`
26
32
  end
27
33
  end
data/lib/ikun/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ikun
2
- VERSION = "0.1.0"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ikun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lei.han