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
1bf21c70
Commit
1bf21c70
authored
May 06, 2015
by
Kyle Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Sandbox::FileAccessor] Add C++ Sources (.cxx, .c++)
parent
28c5c44d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
CHANGELOG.md
CHANGELOG.md
+3
-1
file_accessor.rb
lib/cocoapods/sandbox/file_accessor.rb
+1
-1
file_accessor_spec.rb
spec/unit/sandbox/file_accessor_spec.rb
+1
-1
No files found.
CHANGELOG.md
View file @
1bf21c70
...
@@ -12,8 +12,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -12,8 +12,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[
Marius Rackwitz
](
https://github.com/mrackwitz
)
[
Marius Rackwitz
](
https://github.com/mrackwitz
)
[
#3440
](
https://github.com/CocoaPods/CocoaPods/issues/3440
)
[
#3440
](
https://github.com/CocoaPods/CocoaPods/issues/3440
)
*
C++ source files with
`.cc`
extension now have their compiler flags set correctly.
*
C++ source files with
`.cc`
,
`.cxx`
and
`.c++`
extensions now have their
compiler flags set correctly.
[
Chongyu Zhu
](
https://github.com/lembacon
)
[
Chongyu Zhu
](
https://github.com/lembacon
)
[
Kyle Fuller
](
https://github.com/kylef
)
*
Fix an issue when installing Pods with executable files or broken symlinks
*
Fix an issue when installing Pods with executable files or broken symlinks
when installing a Pod.
when installing a Pod.
...
...
lib/cocoapods/sandbox/file_accessor.rb
View file @
1bf21c70
...
@@ -8,7 +8,7 @@ module Pod
...
@@ -8,7 +8,7 @@ module Pod
#
#
class
FileAccessor
class
FileAccessor
HEADER_EXTENSIONS
=
Xcodeproj
::
Constants
::
HEADER_FILES_EXTENSIONS
HEADER_EXTENSIONS
=
Xcodeproj
::
Constants
::
HEADER_FILES_EXTENSIONS
SOURCE_FILE_EXTENSIONS
=
(
%w(.m .mm .c .cc .c
pp
.swift)
+
HEADER_EXTENSIONS
).
uniq
.
freeze
SOURCE_FILE_EXTENSIONS
=
(
%w(.m .mm .c .cc .c
xx .cpp .c++
.swift)
+
HEADER_EXTENSIONS
).
uniq
.
freeze
GLOB_PATTERNS
=
{
GLOB_PATTERNS
=
{
:readme
=>
'readme{*,.*}'
.
freeze
,
:readme
=>
'readme{*,.*}'
.
freeze
,
...
...
spec/unit/sandbox/file_accessor_spec.rb
View file @
1bf21c70
...
@@ -211,7 +211,7 @@ module Pod
...
@@ -211,7 +211,7 @@ module Pod
file_patterns
=
[
'Classes/*.{h,m,d}'
,
'Vendor'
]
file_patterns
=
[
'Classes/*.{h,m,d}'
,
'Vendor'
]
options
=
{
options
=
{
:exclude_patterns
=>
[
'Classes/**/osx/**/*'
,
'Resources/**/osx/**/*'
],
:exclude_patterns
=>
[
'Classes/**/osx/**/*'
,
'Resources/**/osx/**/*'
],
:dir_pattern
=>
'*{.m,.mm,.c,.cc,.c
pp
,.swift,.h,.hh,.hpp,.ipp,.tpp}'
,
:dir_pattern
=>
'*{.m,.mm,.c,.cc,.c
xx,.cpp,.c++
,.swift,.h,.hh,.hpp,.ipp,.tpp}'
,
:include_dirs
=>
false
,
:include_dirs
=>
false
,
}
}
@spec
.
exclude_files
=
options
[
:exclude_patterns
]
@spec
.
exclude_files
=
options
[
:exclude_patterns
]
...
...
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