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
9514f5e8
Commit
9514f5e8
authored
May 03, 2015
by
Chongyu Zhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Sandbox::FileAccessor] Add missing `.cc` extension for C++ to `SOURCE_FILE_EXTENSIONS`.
parent
f71d6ee3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
CHANGELOG.md
CHANGELOG.md
+3
-0
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 @
9514f5e8
...
...
@@ -12,6 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[
Marius Rackwitz
](
https://github.com/mrackwitz
)
[
#3440
](
https://github.com/CocoaPods/CocoaPods/issues/3440
)
*
C++ source files with
`.cc`
extension now have their compiler flags set correctly.
[
Chongyu Zhu
](
https://github.com/lembacon
)
## 0.37.0
...
...
lib/cocoapods/sandbox/file_accessor.rb
View file @
9514f5e8
...
...
@@ -8,7 +8,7 @@ module Pod
#
class
FileAccessor
HEADER_EXTENSIONS
=
Xcodeproj
::
Constants
::
HEADER_FILES_EXTENSIONS
SOURCE_FILE_EXTENSIONS
=
(
%w(.m .mm .c .cpp .swift)
+
HEADER_EXTENSIONS
).
uniq
.
freeze
SOURCE_FILE_EXTENSIONS
=
(
%w(.m .mm .c .c
c .c
pp .swift)
+
HEADER_EXTENSIONS
).
uniq
.
freeze
GLOB_PATTERNS
=
{
:readme
=>
'readme{*,.*}'
.
freeze
,
...
...
spec/unit/sandbox/file_accessor_spec.rb
View file @
9514f5e8
...
...
@@ -211,7 +211,7 @@ module Pod
file_patterns
=
[
'Classes/*.{h,m,d}'
,
'Vendor'
]
options
=
{
:exclude_patterns
=>
[
'Classes/**/osx/**/*'
,
'Resources/**/osx/**/*'
],
:dir_pattern
=>
'*{.m,.mm,.c,.cpp,.swift,.h,.hh,.hpp,.ipp,.tpp}'
,
:dir_pattern
=>
'*{.m,.mm,.c,.c
c,.c
pp,.swift,.h,.hh,.hpp,.ipp,.tpp}'
,
:include_dirs
=>
false
,
}
@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