Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
cocoapods
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
cocoapods
Commits
69796538
Commit
69796538
authored
Nov 26, 2011
by
Eloy Duran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup output.
parent
ef9ac10a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
+9
-8
repo.rb
lib/cocoapods/command/repo.rb
+2
-2
bridge_support.rb
lib/cocoapods/generator/bridge_support.rb
+0
-3
installer.rb
lib/cocoapods/installer.rb
+2
-2
target_installer.rb
lib/cocoapods/installer/target_installer.rb
+5
-1
No files found.
lib/cocoapods/command/repo.rb
View file @
69796538
...
...
@@ -46,7 +46,7 @@ module Pod
end
def
add
puts
"
==>
Cloning spec repo `
#{
@name
}
' from `
#{
@url
}
'"
unless
config
.
silent?
puts
"Cloning spec repo `
#{
@name
}
' from `
#{
@url
}
'"
unless
config
.
silent?
config
.
repos_dir
.
mkpath
Dir
.
chdir
(
config
.
repos_dir
)
{
git
(
"clone '
#{
@url
}
'
#{
@name
}
"
)
}
end
...
...
@@ -54,7 +54,7 @@ module Pod
def
update
dirs
=
@name
?
[
dir
]
:
config
.
repos_dir
.
children
dirs
.
each
do
|
dir
|
puts
"
==>
Updating spec repo `
#{
dir
.
basename
}
'"
unless
config
.
silent?
puts
"Updating spec repo `
#{
dir
.
basename
}
'"
unless
config
.
silent?
Dir
.
chdir
(
dir
)
{
git
(
"pull"
)
}
end
end
...
...
lib/cocoapods/generator/bridge_support.rb
View file @
69796538
module
Pod
module
Generator
class
BridgeSupport
include
Config
::
Mixin
extend
Executable
executable
:gen_bridge_metadata
...
...
@@ -17,7 +15,6 @@ module Pod
end
def
save_as
(
pathname
)
puts
"==> Generating BridgeSupport metadata file at `
#{
pathname
}
'"
unless
config
.
silent?
gen_bridge_metadata
%{-c "#{search_paths.join(' ')}" -o '#{pathname}' '#{headers.join("' '")}'}
end
end
...
...
lib/cocoapods/installer.rb
View file @
69796538
...
...
@@ -69,11 +69,11 @@ module Pod
end
def
install!
puts
"Installing dependencies of:
#{
@podfile
.
defined_in_file
}
"
unless
config
.
silent
?
puts
"Installing dependencies of:
#{
@podfile
.
defined_in_file
}
"
if
config
.
verbose
?
install_dependencies!
root
=
config
.
project_pods_root
puts
"Generating support files
...
"
unless
config
.
silent?
puts
"Generating support files"
unless
config
.
silent?
target_installers
.
each
do
|
target_installer
|
target_installer
.
install!
target_installer
.
create_files_in
(
root
)
...
...
lib/cocoapods/installer/target_installer.rb
View file @
69796538
...
...
@@ -121,12 +121,16 @@ module Pod
end
def
create_files_in
(
root
)
xcconfig
.
save_as
(
root
+
xcconfig_filename
)
if
@podfile
.
generate_bridge_support?
puts
"* Generating BridgeSupport metadata file at `
#{
root
+
bridge_support_filename
}
'"
if
config
.
verbose?
bridge_support_generator
.
save_as
(
root
+
bridge_support_filename
)
copy_resources_script
.
resources
<<
bridge_support_filename
end
puts
"* Generating xcconfig file at `
#{
root
+
xcconfig_filename
}
'"
if
config
.
verbose?
xcconfig
.
save_as
(
root
+
xcconfig_filename
)
puts
"* Generating prefix header at `
#{
root
+
prefix_header_filename
}
'"
if
config
.
verbose?
save_prefix_header_as
(
root
+
prefix_header_filename
)
puts
"* Generating copy resources script at `
#{
root
+
copy_resources_filename
}
'"
if
config
.
verbose?
copy_resources_script
.
save_as
(
root
+
copy_resources_filename
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment