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
4cbec90f
Commit
4cbec90f
authored
Nov 03, 2015
by
Dimitris Couchell-Koutsogiorgas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Track .def files as sources
parent
67d29d0b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
CHANGELOG.md
CHANGELOG.md
+4
-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 @
4cbec90f
...
@@ -8,6 +8,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
...
@@ -8,6 +8,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Enhancements
##### Enhancements
*
Add support to track
`.def`
sources.
[
Dimitris Koutsogiorgas
](
https://github.com/dnkoutso
)
[
#4490
](
https://github.com/CocoaPods/CocoaPods/pull/4490
)
*
`Pod::Installer::PostInstallHooksContext`
now offers access to the
`sandbox`
*
`Pod::Installer::PostInstallHooksContext`
now offers access to the
`sandbox`
object.
object.
[
Marcelo Fabri
](
https://github.com/marcelofabri
)
[
Marcelo Fabri
](
https://github.com/marcelofabri
)
...
...
lib/cocoapods/sandbox/file_accessor.rb
View file @
4cbec90f
...
@@ -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 .i .c .cc .cxx .cpp .c++ .swift)
+
HEADER_EXTENSIONS
).
uniq
.
freeze
SOURCE_FILE_EXTENSIONS
=
(
%w(.m .mm .i .c .cc .cxx .cpp .c++ .swift
.def
)
+
HEADER_EXTENSIONS
).
uniq
.
freeze
GLOB_PATTERNS
=
{
GLOB_PATTERNS
=
{
:readme
=>
'readme{*,.*}'
.
freeze
,
:readme
=>
'readme{*,.*}'
.
freeze
,
...
...
spec/unit/sandbox/file_accessor_spec.rb
View file @
4cbec90f
...
@@ -237,7 +237,7 @@ module Pod
...
@@ -237,7 +237,7 @@ module Pod
file_patterns
=
[
'Classes/*.{h,m,d}'
,
'Vendor'
,
'framework/Source/*.h'
]
file_patterns
=
[
'Classes/*.{h,m,d}'
,
'Vendor'
,
'framework/Source/*.h'
]
options
=
{
options
=
{
:exclude_patterns
=>
[
'Classes/**/osx/**/*'
,
'Resources/**/osx/**/*'
],
:exclude_patterns
=>
[
'Classes/**/osx/**/*'
,
'Resources/**/osx/**/*'
],
:dir_pattern
=>
'*{.m,.mm,.i,.c,.cc,.cxx,.cpp,.c++,.swift,.h,.hh,.hpp,.ipp,.tpp,.hxx}'
,
:dir_pattern
=>
'*{.m,.mm,.i,.c,.cc,.cxx,.cpp,.c++,.swift,.
def,.
h,.hh,.hpp,.ipp,.tpp,.hxx}'
,
: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