lg_pod_plugin 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/lg +2 -2
- data/lib/command/command.rb +1 -2
- data/lib/command/install.rb +7 -2
- data/lib/command/update.rb +4 -1
- data/lib/lg_pod_plugin/config/l_config.rb +59 -0
- data/lib/lg_pod_plugin/config/lockfile_model.rb +59 -0
- data/lib/lg_pod_plugin/config/podspec.rb +266 -0
- data/lib/lg_pod_plugin/config/target.rb +33 -0
- data/lib/lg_pod_plugin/{database.rb → db/database.rb} +76 -16
- data/lib/lg_pod_plugin/downloader/downloader.rb +156 -0
- data/lib/lg_pod_plugin/{l_cache.rb → downloader/l_cache.rb} +41 -22
- data/lib/lg_pod_plugin/downloader/request.rb +233 -0
- data/lib/lg_pod_plugin/git/git_clone.rb +85 -0
- data/lib/lg_pod_plugin/git/git_download.rb +53 -0
- data/lib/lg_pod_plugin/git/github_api.rb +137 -0
- data/lib/lg_pod_plugin/git/github_archive.rb +165 -0
- data/lib/lg_pod_plugin/git/gitlab_api.rb +265 -0
- data/lib/lg_pod_plugin/git/gitlab_archive.rb +177 -0
- data/lib/lg_pod_plugin/git/http_download.rb +39 -0
- data/lib/lg_pod_plugin/installer/PodDownload +0 -0
- data/lib/lg_pod_plugin/installer/concurrency.rb +21 -0
- data/lib/lg_pod_plugin/installer/install.rb +111 -0
- data/lib/lg_pod_plugin/installer/main.rb +63 -0
- data/lib/lg_pod_plugin/installer/project.rb +47 -0
- data/lib/lg_pod_plugin/net/l_uri.rb +88 -0
- data/lib/lg_pod_plugin/net/net-ping.rb +27 -0
- data/lib/lg_pod_plugin/pod/external_pod.rb +21 -0
- data/lib/lg_pod_plugin/pod/release-pod.rb +158 -0
- data/lib/lg_pod_plugin/utils/aes-crypt.rb +82 -0
- data/lib/lg_pod_plugin/{file_path.rb → utils/file_path.rb} +3 -5
- data/lib/lg_pod_plugin/utils/l_util.rb +133 -0
- data/lib/lg_pod_plugin/{log.rb → utils/log.rb} +1 -1
- data/lib/lg_pod_plugin/{string.rb → utils/string.rb} +0 -0
- data/lib/lg_pod_plugin/version.rb +1 -1
- data/lib/lg_pod_plugin.rb +24 -9
- data/lib/sqlite3-1.5.3-arm64-darwin/API_CHANGES.md +49 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/CHANGELOG.md +462 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/CONTRIBUTING.md +24 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ChangeLog.cvs +88 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/README.md +235 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/dependencies.yml +14 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/aggregator.c +274 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/aggregator.h +12 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/backup.c +168 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/backup.h +15 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/database.c +853 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/database.h +17 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/exception.c +98 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/exception.h +8 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/extconf.rb +251 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/sqlite3.c +163 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/sqlite3_ruby.h +48 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/statement.c +442 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/ext/sqlite3/statement.h +16 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/faq/faq.md +431 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/faq/faq.rb +145 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/faq/faq.yml +426 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/2.6/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/2.7/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/3.0/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/3.1/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/constants.rb +50 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/database.rb +741 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/errors.rb +35 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/pragmas.rb +595 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/resultset.rb +187 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/statement.rb +145 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/translator.rb +118 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/value.rb +57 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3/version.rb +23 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/lib/sqlite3.rb +15 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/helper.rb +27 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_backup.rb +33 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_collation.rb +82 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database.rb +545 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database_flags.rb +95 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database_readonly.rb +36 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_database_readwrite.rb +41 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_deprecated.rb +44 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_encoding.rb +155 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration.rb +507 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_aggregate.rb +336 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_open_close.rb +30 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_pending.rb +115 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_resultset.rb +142 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_integration_statement.rb +194 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_result_set.rb +37 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_sqlite3.rb +30 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_statement.rb +263 -0
- data/lib/sqlite3-1.5.3-arm64-darwin/test/test_statement_execute.rb +35 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/API_CHANGES.md +49 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/CHANGELOG.md +462 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/CONTRIBUTING.md +24 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ChangeLog.cvs +88 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/README.md +235 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/dependencies.yml +14 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/aggregator.c +274 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/aggregator.h +12 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/backup.c +168 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/backup.h +15 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/database.c +853 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/database.h +17 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/exception.c +98 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/exception.h +8 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/extconf.rb +251 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/sqlite3.c +163 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/sqlite3_ruby.h +48 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/statement.c +442 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/ext/sqlite3/statement.h +16 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/faq/faq.md +431 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/faq/faq.rb +145 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/faq/faq.yml +426 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/2.6/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/2.7/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/3.0/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/3.1/sqlite3_native.bundle +0 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/constants.rb +50 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/database.rb +741 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/errors.rb +35 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/pragmas.rb +595 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/resultset.rb +187 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/statement.rb +145 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/translator.rb +118 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/value.rb +57 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3/version.rb +23 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/lib/sqlite3.rb +15 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/helper.rb +27 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_backup.rb +33 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_collation.rb +82 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database.rb +545 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_flags.rb +95 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_readonly.rb +36 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_database_readwrite.rb +41 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_deprecated.rb +44 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_encoding.rb +155 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration.rb +507 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_aggregate.rb +336 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_open_close.rb +30 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_pending.rb +115 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_resultset.rb +142 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_integration_statement.rb +194 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_result_set.rb +37 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_sqlite3.rb +30 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_statement.rb +263 -0
- data/lib/sqlite3-1.5.3-x86_64-darwin/test/test_statement_execute.rb +35 -0
- metadata +146 -53
- data/lib/lg_pod_plugin/downloader.rb +0 -57
- data/lib/lg_pod_plugin/gitlab_api.rb +0 -147
- data/lib/lg_pod_plugin/gitlab_archive.rb +0 -352
- data/lib/lg_pod_plugin/gitlab_download.rb +0 -159
- data/lib/lg_pod_plugin/install.rb +0 -81
- data/lib/lg_pod_plugin/l_config.rb +0 -83
- data/lib/lg_pod_plugin/l_util.rb +0 -145
- data/lib/lg_pod_plugin/net-ping.rb +0 -41
- data/lib/lg_pod_plugin/podspec.rb +0 -156
- data/lib/lg_pod_plugin/release-pod.rb +0 -90
- data/lib/lg_pod_plugin/request.rb +0 -221
- data/lib/lg_pod_plugin/runner.rb +0 -114
- data/lib/lg_pod_plugin/specification.rb +0 -52
data/lib/lg_pod_plugin/runner.rb
DELETED
@@ -1,114 +0,0 @@
|
|
1
|
-
require 'cocoapods'
|
2
|
-
require 'cocoapods-core'
|
3
|
-
require_relative 'l_util'
|
4
|
-
require_relative 'install'
|
5
|
-
require_relative 'request'
|
6
|
-
require_relative 'release-pod'
|
7
|
-
# require_relative 'specification'
|
8
|
-
|
9
|
-
module LgPodPlugin
|
10
|
-
class Main
|
11
|
-
|
12
|
-
public
|
13
|
-
|
14
|
-
def self.run(command, options = {})
|
15
|
-
is_update = (command == "update")
|
16
|
-
work_space = Pathname(Dir.pwd)
|
17
|
-
LgPodPlugin.log_green "当前工作目录 #{work_space}"
|
18
|
-
podfile_path = work_space.join("Podfile")
|
19
|
-
unless podfile_path.exist?
|
20
|
-
LgPodPlugin.log_red "no such file `Podfile`"
|
21
|
-
return
|
22
|
-
end
|
23
|
-
LRequest.shared.is_update = is_update
|
24
|
-
podfile = Pod::Podfile.from_file(podfile_path)
|
25
|
-
target = podfile.send(:current_target_definition)
|
26
|
-
local_pods = Hash.new
|
27
|
-
release_pods = Hash.new
|
28
|
-
install_hash_map = {}
|
29
|
-
children = target.children
|
30
|
-
children.each do |s|
|
31
|
-
internal_hash = s.send(:internal_hash)
|
32
|
-
next unless internal_hash.is_a?(Hash)
|
33
|
-
dependencies = internal_hash["dependencies"]
|
34
|
-
next unless dependencies.is_a?(Array)
|
35
|
-
dependencies.each { |e|
|
36
|
-
next unless e.is_a?(Hash)
|
37
|
-
next if (key = e.keys.first) == nil
|
38
|
-
pod_name = key
|
39
|
-
val = e[key].last
|
40
|
-
pod_name = key.split("/").first if key.include?("/")
|
41
|
-
next unless val.is_a?(Hash)
|
42
|
-
next unless val[:podspec] == nil
|
43
|
-
if path = val[:path]
|
44
|
-
local_pods[pod_name] = val
|
45
|
-
else
|
46
|
-
install_hash_map[pod_name] = val
|
47
|
-
end
|
48
|
-
}
|
49
|
-
end
|
50
|
-
# 安装开发版本pod
|
51
|
-
self.install_external_pod(work_space, podfile, Hash.new.merge!(install_hash_map))
|
52
|
-
# 下载 release_pod
|
53
|
-
repo_update = options[:repo_update] ||= false
|
54
|
-
external_pods = install_hash_map.merge!(local_pods)
|
55
|
-
ReleasePod.install_release_pod(work_space, podfile,repo_update, is_update, Hash.new.merge!(external_pods), local_pods)
|
56
|
-
# LgPodPlugin.log_green "开始安装Pod"
|
57
|
-
# #切换工作目录到当前工程下, 开始执行pod install
|
58
|
-
# FileUtils.chdir(work_space)
|
59
|
-
# libs = Set[]
|
60
|
-
# libs += Array(local_pods)
|
61
|
-
# libs += LRequest.shared.libs.keys
|
62
|
-
# 执行pod install/ update 方法入口
|
63
|
-
# update_pod = (command == "update")
|
64
|
-
# run_pod_install(update_pod, libs, options)
|
65
|
-
end
|
66
|
-
|
67
|
-
def self.install_external_pod(work_space, podfile, install_hash_map)
|
68
|
-
#下载 External pods
|
69
|
-
LRequest.shared.libs = Hash.new.merge!(install_hash_map)
|
70
|
-
LgPodPlugin.log_green "Pre-downloading External Pods" unless install_hash_map.empty?
|
71
|
-
install_hash_map.each do |key, val|
|
72
|
-
git = val[:git]
|
73
|
-
tag = val[:tag]
|
74
|
-
commit = val[:commit]
|
75
|
-
if git && tag
|
76
|
-
LRequest.shared.checkout_options = { :git => git, :tag => tag, :spec => nil, :release_pod => false }
|
77
|
-
unless LCache.new(work_space).find_pod_cache(key, { :git => git, :tag => tag })
|
78
|
-
LRequest.shared.libs.delete(key)
|
79
|
-
next
|
80
|
-
end
|
81
|
-
elsif git && commit
|
82
|
-
LRequest.shared.checkout_options = { :git => git, :commit => commit, :spec => nil, :release_pod => false }
|
83
|
-
unless LCache.new(work_space).find_pod_cache(key, { :git => git, :commit => commit })
|
84
|
-
LRequest.shared.libs.delete(key)
|
85
|
-
next
|
86
|
-
end
|
87
|
-
end
|
88
|
-
LgPodPlugin::Installer.new(podfile, key, val)
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
public
|
93
|
-
# 执行pod install/update命令
|
94
|
-
def self.run_pod_install(update, libs, options = {})
|
95
|
-
verbose = options[:verbose]
|
96
|
-
repo_update = options[:repo_update]
|
97
|
-
if update
|
98
|
-
if libs.empty?
|
99
|
-
LgPodPlugin.log_red "no external pod update, you can use `pod update` to update --all pods"
|
100
|
-
system("bundle exec arch -x86_64 pod update #{repo_update ? "--repo-update" : "--no-repo-update"} #{verbose ? "--verbose" : ""} ")
|
101
|
-
else
|
102
|
-
pod_names = Array(libs).join(" ")
|
103
|
-
LgPodPlugin.log_green Array(libs).join("\n")
|
104
|
-
LgPodPlugin.log_green "bundle exec arch -x86_64 pod update #{repo_update ? "--repo-update" : "--no-repo-update"} #{verbose ? "--verbose" : ""} "
|
105
|
-
system("bundle exec arch -x86_64 pod update #{pod_names} #{repo_update ? "--repo-update" : "--no-repo-update"} #{verbose ? "--verbose" : ""} ")
|
106
|
-
end
|
107
|
-
else
|
108
|
-
LgPodPlugin.log_green "bundle exec arch -x86_64 pod install #{repo_update ? "--repo-update" : "--no-repo-update"} #{verbose ? "--verbose" : ""}"
|
109
|
-
system("bundle exec arch -x86_64 pod install #{repo_update ? "--repo-update" : "--no-repo-update"} #{verbose ? "--verbose" : ""}")
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
|
-
end
|
114
|
-
end
|
@@ -1,52 +0,0 @@
|
|
1
|
-
require 'cocoapods'
|
2
|
-
require 'cocoapods-core'
|
3
|
-
require_relative 'l_util'
|
4
|
-
require_relative 'l_cache'
|
5
|
-
require_relative 'request'
|
6
|
-
require_relative 'install'
|
7
|
-
|
8
|
-
module LgPodPlugin
|
9
|
-
|
10
|
-
class Specification
|
11
|
-
attr_accessor :spec
|
12
|
-
attr_accessor :podfile
|
13
|
-
attr_accessor :work_space
|
14
|
-
attr_accessor :attributes_hash
|
15
|
-
attr_accessor :dependencies
|
16
|
-
def initialize(work_space, podfile, name = nil, version = nil)
|
17
|
-
config = Pod::Config.instance
|
18
|
-
sources_manager = config.send(:sources_manager)
|
19
|
-
dependency = Pod::Dependency.new(name, version)
|
20
|
-
set = sources_manager.search(dependency)
|
21
|
-
self.podfile = podfile
|
22
|
-
self.work_space = work_space
|
23
|
-
self.spec = set.send(:specification)
|
24
|
-
self.attributes_hash = self.spec.send(:attributes_hash)
|
25
|
-
self.dependencies = self.attributes_hash["dependencies"]
|
26
|
-
end
|
27
|
-
|
28
|
-
def install
|
29
|
-
pod_name = self.attributes_hash["name"]
|
30
|
-
if pod_name.include?("/")
|
31
|
-
real_name = pod_name.split("/").first
|
32
|
-
else
|
33
|
-
real_name = pod_name
|
34
|
-
end
|
35
|
-
return if LRequest.shared.libs[real_name]
|
36
|
-
pod_version = self.attributes_hash["version"]
|
37
|
-
prepare_command = self.attributes_hash['prepare_command']
|
38
|
-
return if prepare_command
|
39
|
-
source = self.attributes_hash['source']
|
40
|
-
return unless source.is_a?(Hash)
|
41
|
-
git = source["git"] ||= ""
|
42
|
-
tag = source["tag"] ||= ""
|
43
|
-
return unless git.include?("https://github.com")
|
44
|
-
requirements = {:git => git, :tag => tag, :spec => spec, :release_pod => true }
|
45
|
-
LRequest.shared.checkout_options = requirements
|
46
|
-
return unless LCache.new(self.work_space).find_pod_cache(real_name, {:git => git, :tag => tag})
|
47
|
-
LRequest.shared.libs[real_name] = requirements
|
48
|
-
LgPodPlugin::Installer.new(self.podfile, real_name, requirements)
|
49
|
-
end
|
50
|
-
|
51
|
-
end
|
52
|
-
end
|