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 +4 -4
- data/lib/ikun/command.rb +7 -1
- data/lib/ikun/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b14a867a8e447defe51793ff3bdad40601979c00ad737919ce2a9d6ba80132d
|
4
|
+
data.tar.gz: 5b5d6b6c8fe71349377d903aff00b97ff095475a602d9aa1b2dc2c47425dff54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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