cocoapods-mapfile 0.2.3 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/cocoapods_plugin.rb +17 -19
- data/lib/hmap/version.rb +1 -1
- data/lib/hmap/xc/target/target_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8eb57eb32ca81d86a3af1b1fa9b49115c3a7607bf1e6c2c546060e865a855652
|
4
|
+
data.tar.gz: 78ce44dbd5d258ffa4baa8d27201447fc8c2c995163239ec48cdc163fa1ab661
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5acfc25fe04df059e746b82d1e4d6661ef598a378a19790bad48b04f5b10e11ad3e975bb61aa38b53a801bfe98234ed526744090be4cbb6477de4f982dce515
|
7
|
+
data.tar.gz: 73714efd5ea58856fd5170f2df67a036a15c9581bd5b4fd935f416b1508bf8b41d50f1e220d1cf81930891fb010ad3552583ee9925f8011801ca57feac14f18d
|
data/README.md
CHANGED
@@ -129,6 +129,12 @@ Every time you execute pod install or pod update, `cocoapods-mapfile` will autom
|
|
129
129
|
- `USER_HEADER_SEARCH_PATHS`
|
130
130
|
- `HEAD_SEARCH_PATHS`
|
131
131
|
|
132
|
+
## TODO
|
133
|
+
|
134
|
+
- File generation speed
|
135
|
+
- Perfect interface
|
136
|
+
- Optimize the code
|
137
|
+
|
132
138
|
## Contributing
|
133
139
|
|
134
140
|
Bug reports and pull requests are welcome on GitHub at [cocoapods-hmap](https://github.com/Cat1237/cocoapods-hmap). This project is intended to be a safe, welcoming space for collaboration.
|
data/lib/cocoapods_plugin.rb
CHANGED
@@ -4,24 +4,22 @@ require 'hmap'
|
|
4
4
|
|
5
5
|
module Pod
|
6
6
|
# hook
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
HMap::Command.run(args)
|
25
|
-
end
|
7
|
+
@HooksManager = HooksManager
|
8
|
+
@HooksManager.register('cocoapods-mapfile', :post_install) do |_, _options|
|
9
|
+
args = ['gen', "--project-directory=#{Config.instance.installation_root}"]
|
10
|
+
# allow_targets = options['allow_targets']
|
11
|
+
# unless allow_targets.nil?
|
12
|
+
# if allow_targets.is_a?(Array)
|
13
|
+
# args << "--allow-targets=#{allow_targets.join(', ')}" unless allow_targets.empty?
|
14
|
+
# else
|
15
|
+
# print 'waring:'.yellow, \
|
16
|
+
# 'plugin cocoapods-mapfile args allow_targets must be a array, like ## allow_targets: [target1, targte2] ##'
|
17
|
+
# end
|
18
|
+
# end
|
19
|
+
# save_origin = options['save_oripodgin'].nil? ? true : options['save_origin']
|
20
|
+
# use_origin_headermap = options['use_origin_headermap'].nil? ? true : options['use_origin_headermap']
|
21
|
+
# args << '--fno-save-origin' unless save_origin
|
22
|
+
# args << '--fno-use-origin-headermap' unless use_origin_headermap
|
23
|
+
HMap::Command.run(args)
|
26
24
|
end
|
27
25
|
end
|
data/lib/hmap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-mapfile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cat1237
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|