cocoapods-packager-qcloud 1.5.10 → 1.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/cocoapods-packager.iml +1 -1
- data/.idea/workspace.xml +100 -59
- data/Rakefile +5 -1
- data/lib/cocoapods-packager/spec_builder.rb +1 -1
- data/lib/cocoapods_packager.rb +1 -1
- data/lib/pod/command/package.rb +0 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fd00147579a4a82cd19541ab286701a3db25fd4
|
4
|
+
data.tar.gz: a6d73e971dedbf54d0224787ec875d0f5a345fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b94cb8cb1759b6b99f373b81a9e05d7a2d68821efca720dea88b2fb7d2d1f1f32eee2ae9b0426511c906c61094642fb5aa59aee234b682653d3dc9498788e02
|
7
|
+
data.tar.gz: 779945dc81a8346d0af27d3649908d42a2fad5fadb3c9d1c361190cf0a25f79526883b0274a656ea5cf4e3e3887706cbdd82b7774f383a8db313fa2c0d6c13b6
|
@@ -30,7 +30,7 @@
|
|
30
30
|
<orderEntry type="library" scope="PROVIDED" name="parser (v2.3.1.2, RVM: ruby-2.4.0) [gem]" level="application" />
|
31
31
|
<orderEntry type="library" scope="PROVIDED" name="powerpack (v0.1.1, RVM: ruby-2.4.0) [gem]" level="application" />
|
32
32
|
<orderEntry type="library" scope="PROVIDED" name="prettybacon (v0.0.2, RVM: ruby-2.4.0) [gem]" level="application" />
|
33
|
-
<orderEntry type="library" scope="PROVIDED" name="qricker (v0.0.
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="qricker (v0.0.10, RVM: ruby-2.4.0) [gem]" level="application" />
|
34
34
|
<orderEntry type="library" scope="PROVIDED" name="rainbow (v2.1.0, RVM: ruby-2.4.0) [gem]" level="application" />
|
35
35
|
<orderEntry type="library" scope="PROVIDED" name="rake (v12.3.0, RVM: ruby-2.4.0) [gem]" level="application" />
|
36
36
|
<orderEntry type="library" scope="PROVIDED" name="ruby-progressbar (v1.8.1, RVM: ruby-2.4.0) [gem]" level="application" />
|
data/.idea/workspace.xml
CHANGED
@@ -2,7 +2,10 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="f9bd0043-1199-46c6-8cec-fbea3d254416" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/cocoapods-packager.iml" afterPath="$PROJECT_DIR$/.idea/cocoapods-packager.iml" />
|
5
6
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb" afterPath="$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb" />
|
6
9
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/cocoapods_packager.rb" afterPath="$PROJECT_DIR$/lib/cocoapods_packager.rb" />
|
7
10
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/pod/command/package.rb" afterPath="$PROJECT_DIR$/lib/pod/command/package.rb" />
|
8
11
|
</list>
|
@@ -29,21 +32,11 @@
|
|
29
32
|
</provider>
|
30
33
|
</entry>
|
31
34
|
</file>
|
32
|
-
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="
|
35
|
+
<file leaf-file-name="Rakefile" pinned="false" current-in-tab="true">
|
33
36
|
<entry file="file://$PROJECT_DIR$/Rakefile">
|
34
37
|
<provider selected="true" editor-type-id="text-editor">
|
35
|
-
<state relative-caret-position="
|
36
|
-
<caret line="
|
37
|
-
<folding />
|
38
|
-
</state>
|
39
|
-
</provider>
|
40
|
-
</entry>
|
41
|
-
</file>
|
42
|
-
<file leaf-file-name="builder.rb" pinned="false" current-in-tab="false">
|
43
|
-
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/builder.rb">
|
44
|
-
<provider selected="true" editor-type-id="text-editor">
|
45
|
-
<state relative-caret-position="750">
|
46
|
-
<caret line="50" column="18" lean-forward="false" selection-start-line="50" selection-start-column="16" selection-end-line="50" selection-end-column="18" />
|
38
|
+
<state relative-caret-position="390">
|
39
|
+
<caret line="26" column="0" lean-forward="true" selection-start-line="26" selection-start-column="0" selection-end-line="26" selection-end-column="0" />
|
47
40
|
<folding />
|
48
41
|
</state>
|
49
42
|
</provider>
|
@@ -72,11 +65,11 @@
|
|
72
65
|
<file leaf-file-name="spec_builder.rb" pinned="false" current-in-tab="false">
|
73
66
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb">
|
74
67
|
<provider selected="true" editor-type-id="text-editor">
|
75
|
-
<state relative-caret-position="
|
76
|
-
<caret line="
|
68
|
+
<state relative-caret-position="456">
|
69
|
+
<caret line="49" column="0" lean-forward="false" selection-start-line="49" selection-start-column="0" selection-end-line="49" selection-end-column="0" />
|
77
70
|
<folding>
|
78
|
-
<marker date="
|
79
|
-
<marker date="
|
71
|
+
<marker date="1514192982000" expanded="true" signature="30:2693" ph=" ... end" />
|
72
|
+
<marker date="1514192982000" expanded="true" signature="1377:2689" ph=" ... end" />
|
80
73
|
</folding>
|
81
74
|
</state>
|
82
75
|
</provider>
|
@@ -92,11 +85,21 @@
|
|
92
85
|
</provider>
|
93
86
|
</entry>
|
94
87
|
</file>
|
95
|
-
<file leaf-file-name="package.rb" pinned="false" current-in-tab="
|
88
|
+
<file leaf-file-name="package.rb" pinned="false" current-in-tab="false">
|
96
89
|
<entry file="file://$PROJECT_DIR$/lib/pod/command/package.rb">
|
97
90
|
<provider selected="true" editor-type-id="text-editor">
|
98
|
-
<state relative-caret-position="
|
99
|
-
<caret line="
|
91
|
+
<state relative-caret-position="45">
|
92
|
+
<caret line="3" column="14" lean-forward="false" selection-start-line="3" selection-start-column="14" selection-end-line="3" selection-end-column="14" />
|
93
|
+
<folding />
|
94
|
+
</state>
|
95
|
+
</provider>
|
96
|
+
</entry>
|
97
|
+
</file>
|
98
|
+
<file leaf-file-name="pod_utils.rb" pinned="false" current-in-tab="false">
|
99
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb">
|
100
|
+
<provider selected="true" editor-type-id="text-editor">
|
101
|
+
<state relative-caret-position="251">
|
102
|
+
<caret line="112" column="19" lean-forward="false" selection-start-line="112" selection-start-column="8" selection-end-line="112" selection-end-column="19" />
|
100
103
|
<folding />
|
101
104
|
</state>
|
102
105
|
</provider>
|
@@ -117,7 +120,26 @@
|
|
117
120
|
<provider selected="true" editor-type-id="text-editor">
|
118
121
|
<state relative-caret-position="285">
|
119
122
|
<caret line="19" column="0" lean-forward="false" selection-start-line="19" selection-start-column="0" selection-end-line="19" selection-end-column="0" />
|
120
|
-
<folding
|
123
|
+
<folding>
|
124
|
+
<marker date="1514181565000" expanded="true" signature="71:2989" ph=" ... end" />
|
125
|
+
<marker date="1514181565000" expanded="true" signature="92:2984" ph=" ... end" />
|
126
|
+
<marker date="1514181565000" expanded="true" signature="483:616" ph="heredoc ..." />
|
127
|
+
<marker date="1514181565000" expanded="true" signature="695:1014" ph="do ... end" />
|
128
|
+
<marker date="1514181565000" expanded="true" signature="1056:1132" ph=" ... end" />
|
129
|
+
<marker date="1514181565000" expanded="true" signature="1152:1174" ph=" ... end" />
|
130
|
+
<marker date="1514181565000" expanded="true" signature="1203:1796" ph=" ... end" />
|
131
|
+
<marker date="1514181565000" expanded="true" signature="1381:1777" ph="{ ... }" />
|
132
|
+
<marker date="1514181565000" expanded="true" signature="1445:1768" ph="if ... end" />
|
133
|
+
<marker date="1514181565000" expanded="true" signature="1534:1669" ph="if ... end" />
|
134
|
+
<marker date="1514181565000" expanded="true" signature="1705:1756" ph="{ ... }" />
|
135
|
+
<marker date="1514181565000" expanded="true" signature="1825:1971" ph=" ... end" />
|
136
|
+
<marker date="1514181565000" expanded="true" signature="2004:2436" ph=" ... end" />
|
137
|
+
<marker date="1514181565000" expanded="true" signature="2061:2406" ph="if ... end" />
|
138
|
+
<marker date="1514181565000" expanded="true" signature="2208:2334" ph="{ ... }" />
|
139
|
+
<marker date="1514181565000" expanded="true" signature="2234:2290" ph="if ... end" />
|
140
|
+
<marker date="1514181565000" expanded="true" signature="2469:2978" ph=" ... end" />
|
141
|
+
<marker date="1514181565000" expanded="true" signature="2793:2959" ph="do ... end" />
|
142
|
+
</folding>
|
121
143
|
</state>
|
122
144
|
</provider>
|
123
145
|
</entry>
|
@@ -126,7 +148,6 @@
|
|
126
148
|
</component>
|
127
149
|
<component name="FindInProjectRecents">
|
128
150
|
<findStrings>
|
129
|
-
<find>@spec</find>
|
130
151
|
<find>SpecBuilder</find>
|
131
152
|
<find>@static_sandbox_root</find>
|
132
153
|
<find>@source_dir</find>
|
@@ -156,6 +177,7 @@
|
|
156
177
|
<find>frameworkScripts</find>
|
157
178
|
<find>link directory</find>
|
158
179
|
<find>copyScripts</find>
|
180
|
+
<find>puts</find>
|
159
181
|
</findStrings>
|
160
182
|
</component>
|
161
183
|
<component name="Git.Settings">
|
@@ -165,12 +187,12 @@
|
|
165
187
|
<option name="CHANGED_PATHS">
|
166
188
|
<list>
|
167
189
|
<option value="$PROJECT_DIR$/lib/cocoapods-packager/builder.rb" />
|
168
|
-
<option value="$PROJECT_DIR$/Rakefile" />
|
169
190
|
<option value="$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb" />
|
170
191
|
<option value="$USER_HOME$/.rvm/gems/ruby-2.4.0/gems/qricker-0.0.9/lib/qricker/spec_builder.rb" />
|
171
|
-
<option value="$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb" />
|
172
|
-
<option value="$PROJECT_DIR$/lib/cocoapods_packager.rb" />
|
173
192
|
<option value="$PROJECT_DIR$/lib/pod/command/package.rb" />
|
193
|
+
<option value="$PROJECT_DIR$/lib/cocoapods_packager.rb" />
|
194
|
+
<option value="$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb" />
|
195
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
174
196
|
</list>
|
175
197
|
</option>
|
176
198
|
</component>
|
@@ -507,12 +529,12 @@
|
|
507
529
|
<workItem from="1504598467779" duration="3772000" />
|
508
530
|
<workItem from="1513251271905" duration="9186000" />
|
509
531
|
<workItem from="1513567675114" duration="14702000" />
|
510
|
-
<workItem from="1514168717191" duration="
|
532
|
+
<workItem from="1514168717191" duration="6471000" />
|
511
533
|
</task>
|
512
534
|
<servers />
|
513
535
|
</component>
|
514
536
|
<component name="TimeTrackingManager">
|
515
|
-
<option name="totallyTimeSpent" value="
|
537
|
+
<option name="totallyTimeSpent" value="48430000" />
|
516
538
|
</component>
|
517
539
|
<component name="ToolWindowManager">
|
518
540
|
<frame x="349" y="104" width="1786" height="1276" extended-state="0" />
|
@@ -653,8 +675,8 @@
|
|
653
675
|
<state relative-caret-position="870">
|
654
676
|
<caret line="58" column="0" lean-forward="true" selection-start-line="58" selection-start-column="0" selection-end-line="58" selection-end-column="0" />
|
655
677
|
<folding>
|
656
|
-
<marker date="
|
657
|
-
<marker date="
|
678
|
+
<marker date="1514192982000" expanded="true" signature="30:2693" ph=" ... end" />
|
679
|
+
<marker date="1514192982000" expanded="true" signature="1377:2689" ph=" ... end" />
|
658
680
|
</folding>
|
659
681
|
</state>
|
660
682
|
</provider>
|
@@ -694,8 +716,8 @@
|
|
694
716
|
<state relative-caret-position="195">
|
695
717
|
<caret line="13" column="31" lean-forward="false" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
|
696
718
|
<folding>
|
697
|
-
<marker date="
|
698
|
-
<marker date="
|
719
|
+
<marker date="1514192982000" expanded="true" signature="30:2693" ph=" ... end" />
|
720
|
+
<marker date="1514192982000" expanded="true" signature="1377:2689" ph=" ... end" />
|
699
721
|
</folding>
|
700
722
|
</state>
|
701
723
|
</provider>
|
@@ -781,8 +803,8 @@
|
|
781
803
|
<state relative-caret-position="195">
|
782
804
|
<caret line="13" column="31" lean-forward="false" selection-start-line="13" selection-start-column="31" selection-end-line="13" selection-end-column="31" />
|
783
805
|
<folding>
|
784
|
-
<marker date="
|
785
|
-
<marker date="
|
806
|
+
<marker date="1514192982000" expanded="true" signature="30:2693" ph=" ... end" />
|
807
|
+
<marker date="1514192982000" expanded="true" signature="1377:2689" ph=" ... end" />
|
786
808
|
</folding>
|
787
809
|
</state>
|
788
810
|
</provider>
|
@@ -845,14 +867,6 @@
|
|
845
867
|
</state>
|
846
868
|
</provider>
|
847
869
|
</entry>
|
848
|
-
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb">
|
849
|
-
<provider selected="true" editor-type-id="text-editor">
|
850
|
-
<state relative-caret-position="251">
|
851
|
-
<caret line="112" column="19" lean-forward="false" selection-start-line="112" selection-start-column="8" selection-end-line="112" selection-end-column="19" />
|
852
|
-
<folding />
|
853
|
-
</state>
|
854
|
-
</provider>
|
855
|
-
</entry>
|
856
870
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/symbols.rb">
|
857
871
|
<provider selected="true" editor-type-id="text-editor">
|
858
872
|
<state relative-caret-position="0">
|
@@ -912,25 +926,60 @@
|
|
912
926
|
<provider selected="true" editor-type-id="text-editor">
|
913
927
|
<state relative-caret-position="285">
|
914
928
|
<caret line="19" column="0" lean-forward="false" selection-start-line="19" selection-start-column="0" selection-end-line="19" selection-end-column="0" />
|
929
|
+
<folding>
|
930
|
+
<marker date="1514181565000" expanded="true" signature="71:2989" ph=" ... end" />
|
931
|
+
<marker date="1514181565000" expanded="true" signature="92:2984" ph=" ... end" />
|
932
|
+
<marker date="1514181565000" expanded="true" signature="483:616" ph="heredoc ..." />
|
933
|
+
<marker date="1514181565000" expanded="true" signature="695:1014" ph="do ... end" />
|
934
|
+
<marker date="1514181565000" expanded="true" signature="1056:1132" ph=" ... end" />
|
935
|
+
<marker date="1514181565000" expanded="true" signature="1152:1174" ph=" ... end" />
|
936
|
+
<marker date="1514181565000" expanded="true" signature="1203:1796" ph=" ... end" />
|
937
|
+
<marker date="1514181565000" expanded="true" signature="1381:1777" ph="{ ... }" />
|
938
|
+
<marker date="1514181565000" expanded="true" signature="1445:1768" ph="if ... end" />
|
939
|
+
<marker date="1514181565000" expanded="true" signature="1534:1669" ph="if ... end" />
|
940
|
+
<marker date="1514181565000" expanded="true" signature="1705:1756" ph="{ ... }" />
|
941
|
+
<marker date="1514181565000" expanded="true" signature="1825:1971" ph=" ... end" />
|
942
|
+
<marker date="1514181565000" expanded="true" signature="2004:2436" ph=" ... end" />
|
943
|
+
<marker date="1514181565000" expanded="true" signature="2061:2406" ph="if ... end" />
|
944
|
+
<marker date="1514181565000" expanded="true" signature="2208:2334" ph="{ ... }" />
|
945
|
+
<marker date="1514181565000" expanded="true" signature="2234:2290" ph="if ... end" />
|
946
|
+
<marker date="1514181565000" expanded="true" signature="2469:2978" ph=" ... end" />
|
947
|
+
<marker date="1514181565000" expanded="true" signature="2793:2959" ph="do ... end" />
|
948
|
+
</folding>
|
949
|
+
</state>
|
950
|
+
</provider>
|
951
|
+
</entry>
|
952
|
+
<entry file="file://$USER_HOME$/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/pathname.rb">
|
953
|
+
<provider selected="true" editor-type-id="text-editor">
|
954
|
+
<state relative-caret-position="538">
|
955
|
+
<caret line="488" column="30" lean-forward="false" selection-start-line="488" selection-start-column="30" selection-end-line="488" selection-end-column="30" />
|
956
|
+
<folding />
|
957
|
+
</state>
|
958
|
+
</provider>
|
959
|
+
</entry>
|
960
|
+
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/pod_utils.rb">
|
961
|
+
<provider selected="true" editor-type-id="text-editor">
|
962
|
+
<state relative-caret-position="251">
|
963
|
+
<caret line="112" column="19" lean-forward="false" selection-start-line="112" selection-start-column="8" selection-end-line="112" selection-end-column="19" />
|
915
964
|
<folding />
|
916
965
|
</state>
|
917
966
|
</provider>
|
918
967
|
</entry>
|
919
968
|
<entry file="file://$PROJECT_DIR$/lib/cocoapods-packager/spec_builder.rb">
|
920
969
|
<provider selected="true" editor-type-id="text-editor">
|
921
|
-
<state relative-caret-position="
|
922
|
-
<caret line="
|
970
|
+
<state relative-caret-position="456">
|
971
|
+
<caret line="49" column="0" lean-forward="false" selection-start-line="49" selection-start-column="0" selection-end-line="49" selection-end-column="0" />
|
923
972
|
<folding>
|
924
|
-
<marker date="
|
925
|
-
<marker date="
|
973
|
+
<marker date="1514192982000" expanded="true" signature="30:2693" ph=" ... end" />
|
974
|
+
<marker date="1514192982000" expanded="true" signature="1377:2689" ph=" ... end" />
|
926
975
|
</folding>
|
927
976
|
</state>
|
928
977
|
</provider>
|
929
978
|
</entry>
|
930
|
-
<entry file="file://$PROJECT_DIR$/
|
979
|
+
<entry file="file://$PROJECT_DIR$/lib/pod/command/package.rb">
|
931
980
|
<provider selected="true" editor-type-id="text-editor">
|
932
|
-
<state relative-caret-position="
|
933
|
-
<caret line="
|
981
|
+
<state relative-caret-position="45">
|
982
|
+
<caret line="3" column="14" lean-forward="false" selection-start-line="3" selection-start-column="14" selection-end-line="3" selection-end-column="14" />
|
934
983
|
<folding />
|
935
984
|
</state>
|
936
985
|
</provider>
|
@@ -943,18 +992,10 @@
|
|
943
992
|
</state>
|
944
993
|
</provider>
|
945
994
|
</entry>
|
946
|
-
<entry file="file://$
|
947
|
-
<provider selected="true" editor-type-id="text-editor">
|
948
|
-
<state relative-caret-position="538">
|
949
|
-
<caret line="488" column="30" lean-forward="false" selection-start-line="488" selection-start-column="30" selection-end-line="488" selection-end-column="30" />
|
950
|
-
<folding />
|
951
|
-
</state>
|
952
|
-
</provider>
|
953
|
-
</entry>
|
954
|
-
<entry file="file://$PROJECT_DIR$/lib/pod/command/package.rb">
|
995
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
955
996
|
<provider selected="true" editor-type-id="text-editor">
|
956
|
-
<state relative-caret-position="
|
957
|
-
<caret line="
|
997
|
+
<state relative-caret-position="390">
|
998
|
+
<caret line="26" column="0" lean-forward="true" selection-start-line="26" selection-start-column="0" selection-end-line="26" selection-end-column="0" />
|
958
999
|
<folding />
|
959
1000
|
</state>
|
960
1001
|
</provider>
|
data/Rakefile
CHANGED
@@ -17,6 +17,10 @@ task :install => [:build] do
|
|
17
17
|
sh "gem install cocoapods-packager-qcloud-*.gem"
|
18
18
|
sh "rm -rf cocoapods-packager-qcloud-*.gem"
|
19
19
|
end
|
20
|
-
task :default => :spec
|
21
20
|
|
22
21
|
|
22
|
+
task :publish => [:build] do
|
23
|
+
sh "gem push cocoapods-packager-qcloud-*.gem"
|
24
|
+
end
|
25
|
+
task :default => :spec
|
26
|
+
|
@@ -86,7 +86,7 @@ RB
|
|
86
86
|
|
87
87
|
%w(name version summary license authors homepage description social_media_url
|
88
88
|
docset_url documentation_url screenshots frameworks weak_frameworks libraries requires_arc
|
89
|
-
deployment_target xcconfig vendored_libraries vendored_frameworks).each do |attribute|
|
89
|
+
deployment_target xcconfig vendored_libraries vendored_frameworks preserve_paths).each do |attribute|
|
90
90
|
value = @spec.attributes_hash[attribute]
|
91
91
|
next if value.nil?
|
92
92
|
value = value.dump if value.class == String
|
data/lib/cocoapods_packager.rb
CHANGED
data/lib/pod/command/package.rb
CHANGED
@@ -199,29 +199,20 @@ module Pod
|
|
199
199
|
originType = File::ftype(each)
|
200
200
|
currentPath = each
|
201
201
|
currentTarget = target.join basename
|
202
|
-
puts "CURRENT #{currentPath} #{originType}"
|
203
|
-
puts "TARGET #{currentTarget}"
|
204
202
|
if originType == 'link'
|
205
203
|
linkOrigin = Pathname(File::readlink currentPath)
|
206
|
-
puts "link origin #{linkOrigin}"
|
207
204
|
if not linkOrigin.absolute?
|
208
205
|
linkOrigin = currentPath.dirname.expand_path.join(linkOrigin)
|
209
206
|
end
|
210
|
-
puts "link origin #{linkOrigin}"
|
211
207
|
type = File::ftype(linkOrigin)
|
212
|
-
puts "link #{type} #{linkOrigin}"
|
213
208
|
if type == "directory"
|
214
|
-
puts "link dir"
|
215
209
|
CopyDirWithoutLink(linkOrigin, currentTarget)
|
216
210
|
elsif type == 'file'
|
217
|
-
puts "link file"
|
218
211
|
FileUtils.cp linkOrigin, currentTarget
|
219
212
|
end
|
220
213
|
elsif originType == "directory"
|
221
|
-
puts "dir"
|
222
214
|
CopyDirWithoutLink currentPath, currentTarget
|
223
215
|
elsif originType == 'file'
|
224
|
-
puts "file"
|
225
216
|
FileUtils.cp currentPath, currentTarget
|
226
217
|
end
|
227
218
|
}
|